Skip to content

Commit

Permalink
[RFR] Add bug marker for reports (#774)
Browse files Browse the repository at this point in the history
* Add bug marker for reports

Signed-off-by: Nandini Chandra <[email protected]>

* Skip at the file level

Signed-off-by: Nandini Chandra <[email protected]>

---------

Signed-off-by: Nandini Chandra <[email protected]>
  • Loading branch information
nachandr authored Oct 27, 2023
1 parent 0138a77 commit 7c18bd4
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 21 deletions.
2 changes: 1 addition & 1 deletion cypress/e2e/tests/migration/reports/appsrisk.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ describe(["@tier2"], "Application risks tests", () => {
}
});

it("Application risk validation", function () {
it.skip("Bug MTA-1345: Application risk validation", function () {
// Navigate to reports page
selectUserPerspective(migration);
clickByText(navMenu, reports);
Expand Down
15 changes: 8 additions & 7 deletions cypress/e2e/tests/migration/reports/filter.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ let applicationsList: Array<Assessment> = [];
let stakeholdersList: Array<Stakeholders> = [];
let invalidSearchInput = String(data.getRandomNumber());

describe(["@tier2"], "Reports filter validations", () => {
describe.skip(["@tier2"], "Reports filter validations", () => {
/*
before("Login and create test data", function () {
// Perform login
login();
Expand All @@ -75,9 +76,9 @@ describe(["@tier2"], "Reports filter validations", () => {
// Perform application review
applicationsList[0].perform_review("high");
applicationsList[0].verifyStatus("review", "Completed");
});
});*/

it("Name field validations", function () {
it("Bug MTA-1345: Name field validations", function () {
// Navigate to reports
selectUserPerspective(migration);
clickByText(navMenu, reports);
Expand Down Expand Up @@ -133,7 +134,7 @@ describe(["@tier2"], "Reports filter validations", () => {
clickByText(button, clearAllFilters);
});

it("Identified risk - Application name field validations", function () {
it("Bug MTA-1345: Identified risk - Application name field validations", function () {
// Navigate to reports
selectUserPerspective(migration);
clickByText(navMenu, reports);
Expand Down Expand Up @@ -187,7 +188,7 @@ describe(["@tier2"], "Reports filter validations", () => {
clickByText(button, clearAllFilters);
});

it("Identified risk - Category field validations", function () {
it("Bug MTA-1345: Identified risk - Category field validations", function () {
// Navigate to reports
selectUserPerspective(migration);
clickByText(navMenu, reports);
Expand Down Expand Up @@ -237,7 +238,7 @@ describe(["@tier2"], "Reports filter validations", () => {
clickByText(button, clearAllFilters);
});

it("Identified risk - Question field validations", function () {
it("Bug MTA-1345: Identified risk - Question field validations", function () {
// Navigate to reports
selectUserPerspective(migration);
clickByText(navMenu, reports);
Expand Down Expand Up @@ -286,7 +287,7 @@ describe(["@tier2"], "Reports filter validations", () => {
clickByText(button, clearAllFilters);
});

it("Identified risk - Answer field validations", function () {
it("Bug MTA-1345: Identified risk - Answer field validations", function () {
// Navigate to reports
selectUserPerspective(migration);
clickByText(navMenu, reports);
Expand Down
14 changes: 7 additions & 7 deletions cypress/e2e/tests/migration/reports/pagination.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ import {
let applicationsList: Array<Assessment> = [];
let stakeholdersList: Array<Stakeholders> = [];

describe(["@tier3"], "Reports pagination validations", () => {
describe.skip(["@tier3"], "Reports pagination validations", () => {
before("Login and create test data", function () {
// Perform login
login();
Expand All @@ -62,7 +62,7 @@ describe(["@tier3"], "Reports pagination validations", () => {
newApplication.verifyStatus("review", "Completed");
});

it("Adoption candidate distribution - Navigation button validations", function () {
it("Bug MTA-1345: Adoption candidate distribution - Navigation button validations", function () {
// Navigate to reports page
selectUserPerspective(migration);
clickByText(navMenu, reports);
Expand Down Expand Up @@ -99,7 +99,7 @@ describe(["@tier3"], "Reports pagination validations", () => {
cy.get(commonView.firstPageButton).should("not.be.disabled");
});

it("Adoption candidate distribution - Items per page validations", function () {
it("Bug MTA-1345: Adoption candidate distribution - Items per page validations", function () {
// Navigate to reports page
selectUserPerspective(migration);
clickByText(navMenu, reports);
Expand All @@ -124,7 +124,7 @@ describe(["@tier3"], "Reports pagination validations", () => {
});
});

it("Adoption candidate distribution - Page number validations", function () {
it("Bug MTA-1345: Adoption candidate distribution - Page number validations", function () {
// Navigate to reports page
selectUserPerspective(migration);
clickByText(navMenu, reports);
Expand All @@ -143,7 +143,7 @@ describe(["@tier3"], "Reports pagination validations", () => {
});
});

it("Identified risks - Navigation button validations", function () {
it("Bug MTA-1345: Identified risks - Navigation button validations", function () {
// Navigate to reports page
selectUserPerspective(migration);
clickByText(navMenu, reports);
Expand Down Expand Up @@ -181,7 +181,7 @@ describe(["@tier3"], "Reports pagination validations", () => {
cy.get(commonView.firstPageButton).eq(2).should("not.be.disabled");
});

it("Identified risks - Items per page validations", function () {
it("Bug MTA-1345: Identified risks - Items per page validations", function () {
// Navigate to reports page
selectUserPerspective(migration);
clickByText(navMenu, reports);
Expand Down Expand Up @@ -210,7 +210,7 @@ describe(["@tier3"], "Reports pagination validations", () => {
});
});

it("Identified risks - Page number validations", function () {
it("Bug MTA-1345: Identified risks - Page number validations", function () {
// Navigate to reports page
selectUserPerspective(migration);
clickByText(navMenu, reports);
Expand Down
12 changes: 6 additions & 6 deletions cypress/e2e/tests/migration/reports/sort.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ import { Stakeholders } from "../../../models/migration/controls/stakeholders";
let applicationsList: Array<Assessment> = [];
let stakeholdersList: Array<Stakeholders> = [];

describe(["@tier2"], "Reports sort validations", () => {
describe.skip(["@tier2"], "Reports sort validations", () => {
before("Login and create test data", function () {
// Perform login
login();
Expand All @@ -64,7 +64,7 @@ describe(["@tier2"], "Reports sort validations", () => {
}
});

it("Adoption candidate distribution - Application name sort validations", function () {
it("Bug MTA-1345: Adoption candidate distribution - Application name sort validations", function () {
// Navigate to reports page
selectUserPerspective(migration);
clickByText(navMenu, reports);
Expand All @@ -90,7 +90,7 @@ describe(["@tier2"], "Reports sort validations", () => {
verifySortDesc(afterDescSortList, unsortedList);
});

it("Adoption candidate distribution - Criticality sort validations", function () {
it("Bug MTA-1345: Adoption candidate distribution - Criticality sort validations", function () {
// Navigate to reports page
selectUserPerspective(migration);
clickByText(navMenu, reports);
Expand All @@ -116,7 +116,7 @@ describe(["@tier2"], "Reports sort validations", () => {
verifySortDesc(afterDescSortList, unsortedList);
});

it("Adoption candidate distribution - Priority sort validations", function () {
it("Bug MTA-1345: Adoption candidate distribution - Priority sort validations", function () {
// Navigate to reports page
selectUserPerspective(migration);
clickByText(navMenu, reports);
Expand All @@ -142,7 +142,7 @@ describe(["@tier2"], "Reports sort validations", () => {
verifySortDesc(afterDescSortList, unsortedList);
});

it("MTA-943 | Adoption candidate distribution - Confidence sort validations", function () {
it("Bug MTA-1345: Adoption candidate distribution - Confidence sort validations", function () {
// Navigate to reports page
selectUserPerspective(migration);
clickByText(navMenu, reports);
Expand All @@ -168,7 +168,7 @@ describe(["@tier2"], "Reports sort validations", () => {
verifySortDesc(afterDescSortList, unsortedList);
});

it("Adoption candidate distribution - Effort sort validations", function () {
it("Bug MTA-1345: Adoption candidate distribution - Effort sort validations", function () {
// Navigate to reports page
selectUserPerspective(migration);
clickByText(navMenu, reports);
Expand Down

0 comments on commit 7c18bd4

Please sign in to comment.