瀏覽代碼

fix cypress error

ryoji-s 3 年之前
父節點
當前提交
022a96dfd5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      apps/app/test/cypress/integration/60-home/60-home--home.spec.ts

+ 1 - 1
apps/app/test/cypress/integration/60-home/60-home--home.spec.ts

@@ -129,7 +129,7 @@ context('Access User settings', () => {
     cy.scrollTo('top');
     cy.screenshot(`${ssPrefix}-other-setting-1`);
     cy.getByTestid('grw-questionnaire-settings-update-btn').click();
-    cy.get('.toast').should('be.visible').invoke('attr', 'style', 'opacity: 1');
+    cy.get('.Toastify__toast').should('be.visible').invoke('attr', 'style', 'display: none');
     cy.screenshot(`${ssPrefix}-other-setting-2`);
   });
 });