Skip to content

Commit 9a31d60

Browse files
committed
Force click view links.
1 parent a6243e6 commit 9a31d60

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/cypress/support/commands.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ Cypress.Commands.add(
212212
.closest( '.add-connection' )
213213
.find( 'a' )
214214
.contains( 'View' )
215-
.click();
215+
.click( { force: true } ); // Force click link inside a button, works in browsers but not Cypress.
216216

217217
cy.get( '#wp-admin-bar-edit a' )
218218
.invoke( 'attr', 'href' )

0 commit comments

Comments
 (0)