diff --git a/libs/wallet/src/connect-dialog/connect-dialog.spec.tsx b/libs/wallet/src/connect-dialog/connect-dialog.spec.tsx index dac9755f9..074c88082 100644 --- a/libs/wallet/src/connect-dialog/connect-dialog.spec.tsx +++ b/libs/wallet/src/connect-dialog/connect-dialog.spec.tsx @@ -184,11 +184,11 @@ describe('VegaConnectDialog', () => { const fillInForm = () => { const walletValue = 'test-wallet'; - fireEvent.change(screen.getByLabelText('Wallet'), { + fireEvent.change(screen.getByTestId('rest-wallet'), { target: { value: walletValue }, }); const passphraseValue = 'test-passphrase'; - fireEvent.change(screen.getByLabelText('Passphrase'), { + fireEvent.change(screen.getByTestId('rest-passphrase'), { target: { value: passphraseValue }, }); return { wallet: walletValue, passphrase: passphraseValue }; diff --git a/libs/wallet/src/connect-dialog/rest-connector-form.tsx b/libs/wallet/src/connect-dialog/rest-connector-form.tsx index fae56b73b..9be2acefa 100644 --- a/libs/wallet/src/connect-dialog/rest-connector-form.tsx +++ b/libs/wallet/src/connect-dialog/rest-connector-form.tsx @@ -59,6 +59,7 @@ export function RestConnectorForm({ {errors.wallet?.message && ( @@ -69,6 +70,7 @@ export function RestConnectorForm({ {errors.passphrase?.message && (