|
|
|
@ -7,17 +7,7 @@ context('Screen Tests', () => { |
|
|
|
cy.navigateToFrontend() |
|
|
|
}) |
|
|
|
|
|
|
|
it('Should successful create a screen', () => { |
|
|
|
it('Should successfully create a screen', () => { |
|
|
|
cy.createScreen("test Screen", "/test") |
|
|
|
}) |
|
|
|
|
|
|
|
it('Should rename a screen', () => { |
|
|
|
cy.get(".components-pane").within(() => { |
|
|
|
cy.contains("Settings").click() |
|
|
|
cy.get("input[name=_instanceName]").clear().type("About Us").blur() |
|
|
|
}) |
|
|
|
cy.get('.nav-items-container').within(() => { |
|
|
|
cy.contains("About Us").should('exist') |
|
|
|
}) |
|
|
|
}) |
|
|
|
}) |