Skip to content

Commit

Permalink
Updates page title message source in AppPageLayout_spec.js
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulbarwal committed Jun 7, 2024
1 parent 841712a commit b6d7f60
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
import {
createMessage,
GENERATE_PAGE_ACTION_TITLE,
} from "../../../../../src/ce/constants/messages";
import homePage from "../../../../locators/HomePage";
import * as _ from "../../../../support/Objects/ObjectsCore";
import PageList from "../../../../support/Pages/PageList";
Expand All @@ -23,7 +19,7 @@ describe("Visual regression tests", { tags: ["@tag.Visual"] }, () => {
cy.get("#root").matchImageSnapshot("apppage");

//Layout validation for Quick page wizard
PageList.AddNewPage(createMessage(GENERATE_PAGE_ACTION_TITLE));
PageList.AddNewPage(Cypress.env("MESSAGES").GENERATE_PAGE_ACTION_TITLE());
cy.wait(2000);
// taking screenshot of generate crud page
cy.get("#root").matchImageSnapshot("quickPageWizard");
Expand Down

0 comments on commit b6d7f60

Please sign in to comment.