Skip to content

Commit

Permalink
feat(e2e): Added pin to check backup t1b1 test (#15551)
Browse files Browse the repository at this point in the history
  • Loading branch information
HajekOndrej authored Nov 25, 2024
1 parent 580a6d2 commit 3f232c0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/suite-web/e2e/tests/recovery/t1b1-dry-run.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,11 @@ function confirmSuccessOnDevice(): void {
}

describe('Recovery T1B1 - dry run', () => {
const pin = '1';
beforeEach(() => {
cy.task('startEmu', { model: 'T1B1', version: '1-latest', wipe: true });
cy.wait(2000);
cy.task('setupEmu', { needs_backup: false, mnemonic: mnemonic.join(' ') });
cy.task('setupEmu', { needs_backup: false, mnemonic: mnemonic.join(' '), pin });
cy.task('startBridge');
cy.viewport('macbook-13').resetDb();
cy.prefixedVisit('/');
Expand All @@ -54,6 +55,7 @@ describe('Recovery T1B1 - dry run', () => {
it('Standard dry run', () => {
onSettingsDevicePage.openSeedCheck();
onCheckSeedPage.initCheck(SeedCheckType.Standard, 24);
cy.enterPinOnBlindMatrix(pin);
onWordInputPage.inputMnemonicT1B1(mnemonic);

confirmSuccessOnDevice();
Expand Down

0 comments on commit 3f232c0

Please sign in to comment.