Przeglądaj źródła

change command order

Yohei-Shiina 3 lat temu
rodzic
commit
32ea62c911
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      packages/app/test/cypress/support/commands.ts

+ 1 - 1
packages/app/test/cypress/support/commands.ts

@@ -45,8 +45,8 @@ Cypress.Commands.add('login', (username, password) => {
  * use only for the pages which use component with skeleton
  * use only for the pages which use component with skeleton
  */
  */
 Cypress.Commands.add('waitUntilSkeletonDisappear', () => {
 Cypress.Commands.add('waitUntilSkeletonDisappear', () => {
-  cy.get('.grw-skeleton').should('not.exist');
   cy.get('.grw-skeleton').should('exist');
   cy.get('.grw-skeleton').should('exist');
+  cy.get('.grw-skeleton').should('not.exist');
 });
 });
 
 
 let isSidebarCollapsed: boolean | undefined;
 let isSidebarCollapsed: boolean | undefined;