Skip to content

Commit

Permalink
[RFR][JF] Fix after hook for stakeholder group test
Browse files Browse the repository at this point in the history
Signed-off-by: Karishma Punwatkar <[email protected]>

	modified:   cypress/e2e/tests/migration/controls/stakeholdergroups/pagination.test.ts

	modified:   cypress/e2e/tests/migration/applicationinventory/analysis/source_analysis.test.ts
	modified:   cypress/e2e/tests/migration/controls/stakeholdergroups/pagination.test.ts

	modified:   cypress/e2e/tests/migration/applicationinventory/analysis/source_analysis.test.ts

	modified:   cypress/e2e/tests/migration/controls/stakeholdergroups/pagination.test.ts
  • Loading branch information
kpunwatk committed Nov 13, 2024
1 parent 6d42811 commit 9330561
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ describe(["@tier1"], "Source Analysis", () => {
cy.get("h2", { timeout: 5 * SEC }).should("contain", "No tags available");
});

it("Bug MTA-4135: Analysis for Konveyor example1 application", function () {
it("Analysis for Konveyor example1 application", function () {
// Automates https://github.com/konveyor/example-applications/tree/main/example-1
const application = new Analysis(
getRandomApplicationData("Example 1", {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,18 @@ import {
selectItemsPerPage,
createMultipleStakeholderGroups,
validatePagination,
deleteAllStakeholderGroups,
itemsPerPageValidation,
autoPageChangeValidations,
deleteByList,
} from "../../../../../utils/utils";
import { Stakeholdergroups } from "../../../../models/migration/controls/stakeholdergroups";
import { appTable } from "../../../../views/common.view";
let stakeholderGroupsList: Stakeholdergroups[] = [];

describe(["@tier3"], "Stakeholder groups pagination validations", function () {
before("Login and Create Test Data", function () {
login();
createMultipleStakeholderGroups(11);
stakeholderGroupsList = createMultipleStakeholderGroups(11);
});

beforeEach("Interceptors", function () {
Expand Down Expand Up @@ -61,6 +62,6 @@ describe(["@tier3"], "Stakeholder groups pagination validations", function () {
});

after("Perform test data clean up", function () {
deleteAllStakeholderGroups();
deleteByList(stakeholderGroupsList);
});
});

0 comments on commit 9330561

Please sign in to comment.