Explorar el Código

Merge pull request #6929 from weseek/fix/108857-normalize-vrt

fix: Normalize VRT (20-basic-features/access-to-page.spec.ts/Access to page -- Sandbox with edit is successfully loaded (failed).png)
Shun Miyazawa hace 3 años
padre
commit
f6f1434220

+ 5 - 2
packages/app/test/cypress/integration/20-basic-features/access-to-page.spec.ts

@@ -42,7 +42,11 @@ context('Access to page', () => {
   it('/Sandbox with edit is successfully loaded', () => {
     cy.visit('/Sandbox');
     cy.waitUntilSkeletonDisappear();
-    cy.get('#grw-subnav-container', { timeout: 30000 }).should('be.visible').within(()=>{
+
+    cy.get('#grw-subnav-container', { timeout: 30000 }).should('be.visible').within(() => {
+
+      // eslint-disable-next-line cypress/no-unnecessary-waiting
+      cy.wait(2000);
       cy.getByTestid('editor-button', { timeout: 30000 }).should('be.visible').click();
     })
     cy.getByTestid('navbar-editor', { timeout: 30000 }).should('be.visible');
@@ -224,4 +228,3 @@ context('Access to /me/all-in-app-notifications', () => {
    });
 
 })
-