瀏覽代碼

update cy test

ryoji-s 2 年之前
父節點
當前提交
de346ac941
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      apps/app/test/cypress/e2e/30-search/30-search--search.cy.ts

+ 1 - 1
apps/app/test/cypress/e2e/30-search/30-search--search.cy.ts

@@ -123,7 +123,7 @@ context('Search all pages', () => {
     cy.waitUntil(() => {
       // do
       cy.getByTestid('grw-tag-labels').as('tagLabels').should('be.visible');
-      cy.get('@tagLabels').find('button').first().as('btn').click();
+      cy.get('@tagLabels').find('button').first().as('btn').click({force: true});
       // wait until
       return cy.get('body').within(() => {
         return Cypress.$('.modal.show').is(':visible');