Browse Source

add waitUntilSkeletonDisappear

Yohei-Shiina 3 years ago
parent
commit
96f8564048
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/app/test/cypress/integration/30-search/search.spec.ts

+ 1 - 0
packages/app/test/cypress/integration/30-search/search.spec.ts

@@ -266,6 +266,7 @@ context('Search current tree with "prefix":', () => {
     cy.get('.rbt-input').type(`${searchText}`);
     cy.screenshot(`${ssPrefix}2-insert-search-text`, { capture: 'viewport'});
     cy.get('.rbt-input').type('{enter}');
+    cy.waitUntilSkeletonDisappear();
 
     cy.getByTestid('search-result-base').should('be.visible');
     cy.getByTestid('search-result-list').should('be.visible');