Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,12 @@ import {
} from "../../../../support/Objects/ObjectsCore";
import PageList from "../../../../support/Pages/PageList";
import { EntityItems } from "../../../../support/Pages/AssertHelper";
import {
createMessage,
STARTER_TEMPLATE_PAGE_LAYOUTS,
} from "../../../../../src/ce/constants/messages";

describe("Page Load tests", { tags: ["@tag.IDE"] }, () => {
describe("Page Load tests", { tags: ["@tag.IDE", "@tag.Templates"] }, () => {
afterEach(() => {
agHelper.SaveLocalStorageCache();
});
Expand All @@ -23,7 +27,9 @@ describe("Page Load tests", { tags: ["@tag.IDE"] }, () => {
before(() => {
agHelper.AddDsl("PageLoadDsl");
PageList.AddNewPage();
cy.get("h2").contains("Drag and drop a widget here");
cy.get("span").contains(
createMessage(STARTER_TEMPLATE_PAGE_LAYOUTS.header),
);
});

it("1. Published page loads correctly", () => {
Expand Down