diff --git a/cypress/e2e/tests/migration/migration-waves/create_tracker.test.ts b/cypress/e2e/tests/migration/migration-waves/create_tracker.test.ts index 83bcf771f..95dc1b755 100644 --- a/cypress/e2e/tests/migration/migration-waves/create_tracker.test.ts +++ b/cypress/e2e/tests/migration/migration-waves/create_tracker.test.ts @@ -35,7 +35,7 @@ describe(["@tier1"], "Testing the creation of a tracker in migration waves", fun application.create(); }); - it("Bug MTA-1337: Verify create tracker button is visible", function () { + it("Verify create tracker button is visible", function () { MigrationWave.open(); // create new migration wave diff --git a/cypress/e2e/tests/migration/migration-waves/crud.test.ts b/cypress/e2e/tests/migration/migration-waves/crud.test.ts index e73666453..4baee9cd8 100644 --- a/cypress/e2e/tests/migration/migration-waves/crud.test.ts +++ b/cypress/e2e/tests/migration/migration-waves/crud.test.ts @@ -61,7 +61,7 @@ describe(["@tier1"], "Migration Waves CRUD operations", () => { }); // Automates Polarion TC 332 - it("Bug MTA-1281, Bug MTA-1343: Migration Wave CRUD", function () { + it("Migration Wave CRUD", function () { const migrationWave = new MigrationWave( data.getRandomWord(8), now, @@ -104,7 +104,7 @@ describe(["@tier1"], "Migration Waves CRUD operations", () => { }); // Automates Polarion TC 333 - it("Bug MTA-1281, Bug MTA-1343: Migration Wave Application Association", function () { + it("Migration Wave Application Association", function () { applications = createMultipleApplications(2); const migrationWave = new MigrationWave( data.getRandomWord(8), diff --git a/cypress/e2e/tests/migration/migration-waves/export_to_jira_cloud.test.ts b/cypress/e2e/tests/migration/migration-waves/export_to_jira_cloud.test.ts index 6b5efe7b8..adea6847a 100644 --- a/cypress/e2e/tests/migration/migration-waves/export_to_jira_cloud.test.ts +++ b/cypress/e2e/tests/migration/migration-waves/export_to_jira_cloud.test.ts @@ -58,7 +58,7 @@ describe(["@tier0", "@interop"], "Export Migration Wave to Jira Cloud", function }); Object.values(JiraIssueTypes).forEach((issueType) => { - it(`Bug MTA-1281: Create wave to export as ${issueType}`, function () { + it(`Create wave to export as ${issueType}`, function () { const apps = createMultipleApplications(2); applications.push(...apps); @@ -76,7 +76,7 @@ describe(["@tier0", "@interop"], "Export Migration Wave to Jira Cloud", function }); Object.values(JiraIssueTypes).forEach((issueType) => { - it(`Bug MTA-1281: Export wave as ${issueType} to Jira`, function () { + it(`Export wave as ${issueType} to Jira`, function () { jiraCloudInstance .getProject(Cypress.env("jira_atlassian_cloud_project")) .then((project) => { @@ -100,7 +100,7 @@ describe(["@tier0", "@interop"], "Export Migration Wave to Jira Cloud", function }); Object.values(JiraIssueTypes).forEach((issueType) => { - it(`Bug MTA-1281: Assert exports for ${issueType}`, function () { + it(`Assert exports for ${issueType}`, function () { cy.wait(30 * SEC); // Enough time to create both tasks and for them to be available in the Jira API jiraCloudInstance.getIssues(projectName).then((issues: JiraIssue[]) => { const waveIssues = issues.filter((issue) => { @@ -121,7 +121,7 @@ describe(["@tier0", "@interop"], "Export Migration Wave to Jira Cloud", function }); }); - after("Bug MTA-1281: Clear test data", function () { + after("Clear test data", function () { Object.values(wavesMap).forEach((wave: MigrationWave) => wave.delete()); applications.forEach((app) => app.delete()); jiraCloudInstance.delete(); diff --git a/cypress/e2e/tests/migration/migration-waves/export_to_jira_datacenter.test.ts b/cypress/e2e/tests/migration/migration-waves/export_to_jira_datacenter.test.ts index b3931f44a..d0b643c81 100644 --- a/cypress/e2e/tests/migration/migration-waves/export_to_jira_datacenter.test.ts +++ b/cypress/e2e/tests/migration/migration-waves/export_to_jira_datacenter.test.ts @@ -58,7 +58,7 @@ describe(["@tier1"], "Export Migration Wave to Jira Datacenter", function () { }); Object.values(JiraIssueTypes).forEach((issueType) => { - it(`Bug MTA-1281: Create wave to export as ${issueType}`, function () { + it(`Create wave to export as ${issueType}`, function () { const apps = createMultipleApplications(2); applications.push(...apps); @@ -76,7 +76,7 @@ describe(["@tier1"], "Export Migration Wave to Jira Datacenter", function () { }); Object.values(JiraIssueTypes).forEach((issueType) => { - it(`Bug MTA-1281: Export wave as ${issueType} to Jira`, function () { + it(`Export wave as ${issueType} to Jira`, function () { jiraInstance .getProjectById(Cypress.env("jira_stage_datacenter_project_id")) .then((project) => { @@ -100,7 +100,7 @@ describe(["@tier1"], "Export Migration Wave to Jira Datacenter", function () { }); Object.values(JiraIssueTypes).forEach((issueType) => { - it(`Bug MTA-1281: Assert exports for ${issueType}`, function () { + it(`Assert exports for ${issueType}`, function () { cy.wait(40 * SEC); // Enough time to create both tasks and for them to be available in the Jira API jiraInstance.getIssues(projectName).then((issues: JiraIssue[]) => { const waveIssues = issues.filter((issue) => { @@ -121,7 +121,7 @@ describe(["@tier1"], "Export Migration Wave to Jira Datacenter", function () { }); }); - after("Bug MTA-1281: Clear test data", function () { + after("Clear test data", function () { MigrationWave.open(true); deleteByList(Object.values(wavesMap) as MigrationWave[]); deleteByList(applications); diff --git a/cypress/e2e/tests/migration/migration-waves/field_validation.test.ts b/cypress/e2e/tests/migration/migration-waves/field_validation.test.ts index 5105ce5b3..bc5923e4f 100644 --- a/cypress/e2e/tests/migration/migration-waves/field_validation.test.ts +++ b/cypress/e2e/tests/migration/migration-waves/field_validation.test.ts @@ -49,7 +49,7 @@ describe(["@tier1"], "Migration Waves Validations", () => { migrationWave.create(); }); - it("Bug MTA-1281: Name validations", function () { + it("Name validations", function () { const invalidMessage = "Name is invalid. The name must be between 3 and 120 characters"; MigrationWave.openNewForm(); cy.get(commonView.submitButton).should("be.disabled"); @@ -61,7 +61,7 @@ describe(["@tier1"], "Migration Waves Validations", () => { clickJs(cancelButton); }); - it("Bug MTA-1281: Dates Validations", function () { + it("Dates Validations", function () { MigrationWave.openNewForm(); MigrationWave.fillName(data.getRandomWord(5)); cy.get(commonView.submitButton).should("be.disabled"); @@ -98,7 +98,7 @@ describe(["@tier1"], "Migration Waves Validations", () => { cy.get(commonView.submitButton).should("be.enabled"); clickJs(cancelButton); }); - it("Bug MTA-1281: Duplicate Migration wave name validation", function () { + it("Duplicate Migration wave name validation", function () { const migrationWavesList: MigrationWave[] = []; const name = data.getRandomWord(8); const { start: startDate, end: endDate } = generateRandomDateRange(); diff --git a/cypress/e2e/tests/migration/migration-waves/filter.test.ts b/cypress/e2e/tests/migration/migration-waves/filter.test.ts index f91ba8d26..1d6407138 100644 --- a/cypress/e2e/tests/migration/migration-waves/filter.test.ts +++ b/cypress/e2e/tests/migration/migration-waves/filter.test.ts @@ -36,7 +36,7 @@ describe(["@tier2"], "Migration waves filter validations", function () { migrationWavesList = createMultipleMigrationWaves(2); }); - it("Bug MTA-1281: Name filter validations", function () { + it("Name filter validations", function () { MigrationWave.open(); // Enter an existing display name substring and assert diff --git a/cypress/e2e/tests/migration/migration-waves/filter_applications.test.ts b/cypress/e2e/tests/migration/migration-waves/filter_applications.test.ts index 00d1c8e1f..d22dde92c 100644 --- a/cypress/e2e/tests/migration/migration-waves/filter_applications.test.ts +++ b/cypress/e2e/tests/migration/migration-waves/filter_applications.test.ts @@ -66,7 +66,7 @@ describe( ); }); - it("Bug MTA-1281: Filter applications by name", function () { + it("Filter applications by name", function () { const migrationWave = new MigrationWave( data.getRandomWord(8), now, @@ -94,7 +94,7 @@ describe( migrationWave.delete(); }); - it("Bug MTA-1281: Filter applications by business service", function () { + it("Filter applications by business service", function () { const migrationWave = new MigrationWave( data.getRandomWord(8), now, @@ -122,7 +122,7 @@ describe( migrationWave.delete(); }); - it("Bug MTA-1281: Filter applications by owner", function () { + it("Filter applications by owner", function () { const migrationWave = new MigrationWave( data.getRandomWord(8), now, @@ -150,7 +150,7 @@ describe( migrationWave.delete(); }); - after("Bug MTA-1281: Perform test data clean up", function () { + after("Perform test data clean up", function () { deleteByList(applicationsList); deleteByList(businessservicesList); deleteByList(tagList); diff --git a/cypress/e2e/tests/migration/migration-waves/pagination.test.ts b/cypress/e2e/tests/migration/migration-waves/pagination.test.ts index 06943af34..49f51511b 100644 --- a/cypress/e2e/tests/migration/migration-waves/pagination.test.ts +++ b/cypress/e2e/tests/migration/migration-waves/pagination.test.ts @@ -34,7 +34,7 @@ describe(["@tier3"], "Migration Waves pagination validations", function () { migrationWavesList = createMultipleMigrationWaves(11); }); - it("Bug MTA-1281: Navigation button validations", function () { + it("Navigation button validations", function () { MigrationWave.open(); selectItemsPerPage(10); @@ -62,7 +62,7 @@ describe(["@tier3"], "Migration Waves pagination validations", function () { cy.get(commonView.firstPageButton).should("not.be.disabled"); }); - it("Bug MTA-1281: Items per page validations", function () { + it("Items per page validations", function () { MigrationWave.open(); selectItemsPerPage(10); @@ -84,7 +84,7 @@ describe(["@tier3"], "Migration Waves pagination validations", function () { }); }); - it("Bug MTA-1281: Page number validations", function () { + it("Page number validations", function () { MigrationWave.open(); selectItemsPerPage(10); @@ -97,7 +97,7 @@ describe(["@tier3"], "Migration Waves pagination validations", function () { goToPage(1); }); - after("Bug MTA-1281: Perform test data clean up", function () { + after("Perform test data clean up", function () { deleteByList(migrationWavesList); }); }); diff --git a/cypress/e2e/tests/migration/migration-waves/sort.test.ts b/cypress/e2e/tests/migration/migration-waves/sort.test.ts index d0f8494c6..7d4a65d64 100644 --- a/cypress/e2e/tests/migration/migration-waves/sort.test.ts +++ b/cypress/e2e/tests/migration/migration-waves/sort.test.ts @@ -57,7 +57,7 @@ describe(["@tier2"], "Migration Waves sort validations", function () { businessServicesList = createMultipleBusinessServices(3); }); - it("Bug MTA-1281: Name sort validations", function () { + it("Name sort validations", function () { MigrationWave.open(); const unsortedList = getTableColumnData(name); @@ -76,7 +76,7 @@ describe(["@tier2"], "Migration Waves sort validations", function () { verifySortDesc(afterDescSortList, unsortedList); }); - it("Bug MTA-1281: Start date sort validations", function () { + it("Start date sort validations", function () { MigrationWave.open(); const unsortedList = getTableColumnData(startDate); @@ -92,7 +92,7 @@ describe(["@tier2"], "Migration Waves sort validations", function () { verifyDateSortDesc(afterDescSortList, unsortedList); }); - it("Bug MTA-1281: End date sort validations", function () { + it("End date sort validations", function () { MigrationWave.open(); const unsortedList = getTableColumnData(endDate); @@ -107,7 +107,7 @@ describe(["@tier2"], "Migration Waves sort validations", function () { const afterDescSortList = getTableColumnData(endDate); verifyDateSortDesc(afterDescSortList, unsortedList); }); - it("Bug MTA-1281: Sort Manage applications table", function () { + it("Sort Manage applications table", function () { for (let i = 0; i < 3; i++) { const appdata = { name: data.getRandomWord(4), diff --git a/cypress/utils/utils.ts b/cypress/utils/utils.ts index eac21065d..527b15e3b 100644 --- a/cypress/utils/utils.ts +++ b/cypress/utils/utils.ts @@ -331,8 +331,8 @@ export function selectFilter(filterName: string, identifiedRisk?: boolean, value .eq(value) .within(() => { cy.get("#filtered-by").click(); - cy.get('ul[aria-labelledby="filtered-by"]').within(() => { - clickByText("a", filterName); + cy.get("div.pf-v5-c-menu__content").within(() => { + clickByText("span", filterName); }); }); }