Skip to content

Commit 646c81b

Browse files
committed
fix: Handle different submission types for older NC
Signed-off-by: Enjeck C. <patrathewhiz@gmail.com>
1 parent 5451aef commit 646c81b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cypress/e2e/tables-sharing-link.cy.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ describe('Public link sharing', () => {
9595

9696
// Password Gate
9797
cy.get('input[type="password"]').should('be.visible').type(password)
98-
cy.get('button[type="submit"]').click()
99-
cy.get('[data-cy="publicTableElement"]').should('be.visible')
98+
cy.get('button[type="submit"], input[type="submit"]').click()
99+
cy.get('[data-cy="publicTableElement"]').should('be.visible')
100100

101101
// Login again to delete share
102102
cy.login(localUser)

0 commit comments

Comments
 (0)