소스 검색

change command order

Yohei-Shiina 3 년 전
부모
커밋
32ea62c911
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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
  */
 Cypress.Commands.add('waitUntilSkeletonDisappear', () => {
-  cy.get('.grw-skeleton').should('not.exist');
   cy.get('.grw-skeleton').should('exist');
+  cy.get('.grw-skeleton').should('not.exist');
 });
 
 let isSidebarCollapsed: boolean | undefined;