Browse Source

cypress: add force: true

pull/2552/head
Wing-Kam Wong 2 years ago
parent
commit
68400423a3
  1. 2
      scripts/cypress/integration/common/4b_table_view_share.js

2
scripts/cypress/integration/common/4b_table_view_share.js

@ -14,7 +14,7 @@ const generateLinkWithPwd = () => {
cy.snipActiveModal("Modal_ShareView");
// enable checkbox & feed pwd, save
cy.getActiveModal().find('button:contains("More Options")').click();
cy.getActiveModal().find('button:contains("More Options")').click({ force: true });
const passwordCheckbox = cy.getActiveModal().find('[role="checkbox"][type="checkbox"]').first()
if (passwordCheckbox.eq(0)) {
passwordCheckbox.click({ force: true });

Loading…
Cancel
Save