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
  • Loading branch information
kpunwatk committed Nov 12, 2024
1 parent 6d42811 commit 3747aba
Showing 1 changed file with 4 additions and 3 deletions.
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: Array<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 3747aba

Please sign in to comment.