Browse Source

refactor wait component

Yuken Tezuka 3 years ago
parent
commit
ed9ec3b9f4

+ 1 - 1
packages/app/test/cypress/integration/21-basic-features-for-guest/access-to-page.spec.ts

@@ -11,7 +11,7 @@ context('Access to page by guest', () => {
 
 
   it('/Sandbox with anchor hash is successfully loaded', () => {
   it('/Sandbox with anchor hash is successfully loaded', () => {
     cy.visit('/Sandbox#Headers');
     cy.visit('/Sandbox#Headers');
-    cy.getByTestid("grw-navigation-resize-button").should('be.visible');
+    cy.getByTestid('grw-pagetree-item-container').should('be.visible');
     cy.collapseSidebar(true, true);
     cy.collapseSidebar(true, true);
 
 
     // eslint-disable-next-line cypress/no-unnecessary-waiting
     // eslint-disable-next-line cypress/no-unnecessary-waiting