Yuken Tezuka 3 лет назад
Родитель
Сommit
953c375428
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      packages/app/test/cypress/integration/20-basic-features/use-tools.spec.ts

+ 2 - 1
packages/app/test/cypress/integration/20-basic-features/use-tools.spec.ts

@@ -304,7 +304,8 @@ context('Tag Oprations', () =>{
     cy.getByTestid('search-result-base').should('be.visible');
     cy.getByTestid('search-result-base').should('be.visible');
     cy.getByTestid('search-result-list').should('be.visible');
     cy.getByTestid('search-result-list').should('be.visible');
     cy.getByTestid('search-result-content').should('be.visible');
     cy.getByTestid('search-result-content').should('be.visible');
-    cy.getByTestid('wiki').should('be.visible');
+    // eslint-disable-next-line cypress/no-unnecessary-waiting
+    cy.wait(300);
     cy.screenshot(`${ssPrefix}1-click-tag-name`, {capture: 'viewport'});
     cy.screenshot(`${ssPrefix}1-click-tag-name`, {capture: 'viewport'});
 
 
     cy.getByTestid('search-result-list').within(() => {
     cy.getByTestid('search-result-list').within(() => {