test: fix ui tests (#24136)
caused by https://github.com/frappe/frappe/pull/24077
This commit is contained in:
parent
941b5faf65
commit
f7ff072b5a
2 changed files with 5 additions and 5 deletions
|
|
@ -224,8 +224,8 @@ context("View", () => {
|
|||
});
|
||||
});
|
||||
|
||||
it("Route to Settings Workspace", () => {
|
||||
cy.visit("/app/settings");
|
||||
cy.get(".title-text").should("contain", "Settings");
|
||||
it("Route to Website Workspace", () => {
|
||||
cy.visit("/app/website");
|
||||
cy.get(".title-text").should("contain", "Website");
|
||||
});
|
||||
});
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@ context("Workspace 2.0", () => {
|
|||
it("Navigate to page from sidebar", () => {
|
||||
cy.visit("/app/build");
|
||||
cy.get(".codex-editor__redactor .ce-block");
|
||||
cy.get('.sidebar-item-container[item-name="Settings"]').first().click();
|
||||
cy.location("pathname").should("eq", "/app/settings");
|
||||
cy.get('.sidebar-item-container[item-name="Website"]').first().click();
|
||||
cy.location("pathname").should("eq", "/app/website");
|
||||
});
|
||||
|
||||
it("Create Private Page", () => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue