test: minor fix

This commit is contained in:
shariquerik 2021-08-12 20:30:15 +05:30
parent 0ada551207
commit d3e7f0ac36

View file

@ -1,10 +1,12 @@
context('Workspace 2.0', () => {
before(() => {
cy.visit('/login');
cy.login();
cy.visit('/app/website');
});
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');