Shun Miyazawa 3 лет назад
Родитель
Сommit
20cdde4de2

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

@@ -83,7 +83,7 @@ context('Modal for page operation', () => {
     cy.getByTestid('newPageBtn').click();
 
     cy.getByTestid('page-create-modal').should('be.visible').within(() => {
-      cy.get('#template-type').click();
+      cy.get('#template-type').should('be.visible').click();
       cy.get('#template-type').next().find('button:eq(0)').click({force: true});
       cy.get('#dd-template-type').next().find('button').click({force: true});
     });
@@ -93,7 +93,7 @@ context('Modal for page operation', () => {
     cy.get('.toast-error').should('not.exist');
 
     cy.getByTestid('page-create-modal').should('be.visible').within(() => {
-      cy.get('#template-type').click();
+      cy.get('#template-type').should('be.visible').click();
       cy.get('#template-type').next().find('button:eq(1)').click({force: true});
       cy.get('#dd-template-type').next().find('button').click({force: true});
     });