Skip to content

Commit

Permalink
Narrowing tier1 on release0.6 branch
Browse files Browse the repository at this point in the history
Signed-off-by: Shveta Sachdeva <[email protected]>
  • Loading branch information
sshveta committed Feb 10, 2025
1 parent c192894 commit 5feb0f8
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 18 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/k8s-ci.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: Test UI TIER1 , TIER2 , TIER3

on:
push:
branches:
- main

jobs:
k8s-tier1:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export default defineConfig({
defaultCommandTimeout: 8000,
e2e: {
testIsolation: false,
specPattern: "cypress/e2e/**/*.{js,jsx,ts,tsx}",
specPattern: "cypress/e2e/**/*.test.{js,jsx,ts,tsx}",
setupNodeEvents(on, config) {
require("./cypress/plugins/index.js")(on, config);
on("file:preprocessor", tagify(config));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ describe(["@tier2"], "Validation of Source Control Credentials", () => {
});

it(
["@tier1", "@dc", "@interop"],
["@tier2", "@dc", "@interop"],
"Creating source control credentials with username/password and cancelling without saving",
() => {
scCredsUsername.create(toBeCanceled);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ import {
import { cancelButton } from "../../../views/common.view";
import { CustomMigrationTargetView } from "../../../views/custom-migration-target.view";

describe(["@tier1", "@interop"], "Custom Migration Targets CRUD operations", () => {
describe(["@tier2", "@interop"], "Custom Migration Targets CRUD operations", () => {
let appFixture: string;
let analysisFixture: string;
let languageLower: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ let source_credential_withHash: CredentialsSourceControlUsername;
let maven_credential: CredentialsMaven;
let applicationsList: Array<Analysis> = [];

describe(["@tier1"], "Source Analysis", () => {
describe(["@tier2"], "Source Analysis", () => {
before("Login", function () {
login();

Expand Down Expand Up @@ -126,7 +126,7 @@ describe(["@tier1"], "Source Analysis", () => {
);
});

it("Analysis on daytrader app with maven credentials", function () {
it(["@tier1"], "Analysis on daytrader app with maven credentials", function () {
// Automate bug https://issues.redhat.com/browse/TACKLE-751
const application = new Analysis(
getRandomApplicationData("dayTraderApp_MavenCreds", {
Expand All @@ -144,7 +144,7 @@ describe(["@tier1"], "Source Analysis", () => {
application.verifyAnalysisStatus("Completed");
});

it("Source Analysis on tackle testapp", function () {
it(["@tier1"], "Source Analysis on tackle testapp", function () {
// For tackle test app source credentials are required.
const application = new Analysis(
getRandomApplicationData("tackleTestApp_Source", {
Expand All @@ -162,7 +162,7 @@ describe(["@tier1"], "Source Analysis", () => {
application.verifyAnalysisStatus("Completed");
});

it("Analysis on tackle test app with ssh credentials", function () {
it(["@tier1"], "Analysis on tackle test app with ssh credentials", function () {
// Automate bug https://issues.redhat.com/browse/TACKLE-707
const scCredsKey = new CredentialsSourceControlKey(
data.getRandomCredentialsData(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import { Application } from "../../../../models/migration/applicationinventory/a
import { AnalysisStatuses } from "../../../../types/constants";

const applicationsList: Analysis[] = [];
describe(["@tier1"], "Upload Binary Analysis", () => {
describe(["@tier2"], "Upload Binary Analysis", () => {
before("Login", function () {
login();
});
Expand All @@ -44,7 +44,7 @@ describe(["@tier1"], "Upload Binary Analysis", () => {
Application.open(true);
});

it(["@interop"], "Analysis for acmeair app upload binary", function () {
it(["@interop", "@tier1"], "Analysis for acmeair app upload binary", function () {
const application = new Analysis(
getRandomApplicationData("acmeair_app"),
getRandomAnalysisData(this.analysisData["uploadbinary_analysis_on_acmeair"])
Expand All @@ -60,7 +60,7 @@ describe(["@tier1"], "Upload Binary Analysis", () => {
application.verifyEffort(this.analysisData["uploadbinary_analysis_on_acmeair"]["effort"]);
});

it("Custom rules with custom targets", function () {
it(["@tier1"], "Custom rules with custom targets", function () {
// Automated https://issues.redhat.com/browse/TACKLE-561
const application = new Analysis(
getRandomApplicationData("customRule_customTarget"),
Expand Down Expand Up @@ -144,7 +144,7 @@ describe(["@tier1"], "Upload Binary Analysis", () => {
);
});

it(["@tier2"], "upload_binary_with_exculde_packages_scope", function () {
it("upload_binary_with_exculde_packages_scope", function () {
const application = new Analysis(
getRandomApplicationData("uploadBinary"),
getRandomAnalysisData(this.analysisData["upload_binary_with_exculde_packages"])
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import { TaskManagerColumns, tasksTable } from "../../../views/taskmanager.view"
let applicationsList: Array<Application> = [];
let application: Analysis;

describe(["@tier1"], "Task Manager", () => {
describe(["@tier2"], "Task Manager", () => {
before("Login", function () {
login();
deleteApplicationTableRows();
Expand Down
4 changes: 2 additions & 2 deletions cypress/e2e/tests/rbac/custom-rules.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import { Analysis } from "../../models/migration/applicationinventory/analysis";
import { AnalysisStatuses, CredentialType, SEC, UserCredentials } from "../../types/constants";
import { RulesRepositoryFields } from "../../types/types";

describe(["@tier1"], "Custom Rules RBAC operations", function () {
describe(["@tier2"], "Custom Rules RBAC operations", function () {
// Polarion TC 318

/**
Expand Down Expand Up @@ -78,7 +78,7 @@ describe(["@tier1"], "Custom Rules RBAC operations", function () {
});
});

it("Admin, Rules from public repository", function () {
it(["@tier1"], "Admin, Rules from public repository", function () {
analysisWithPublicRules = new Analysis(
getRandomApplicationData("bookServerApp", {
sourceData: this.appData["bookserver-app"],
Expand Down

0 comments on commit 5feb0f8

Please sign in to comment.