From c4107aac5dfe6032621f65ca4ce86ae39940976e Mon Sep 17 00:00:00 2001 From: aeddaqqa Date: Wed, 20 Mar 2024 16:45:53 +0000 Subject: [PATCH] fix privateKey selector in cypress --- cypress/support/commands.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/support/commands.ts b/cypress/support/commands.ts index 183b7438..47f8d3e2 100644 --- a/cypress/support/commands.ts +++ b/cypress/support/commands.ts @@ -224,7 +224,7 @@ Cypress.Commands.add( privateKeys[keyName || 'privateKey'], ) }) - cy.get('button[type="submit"]').contains('Access Wallet').click() + cy.get('[data-cy="btn-submit-private-key"]').contains('Access Wallet').click() } break case 'mnemonic':