Skip to content

Commit

Permalink
test(suite-web): add confirmation button click when skipping firmware…
Browse files Browse the repository at this point in the history
… update
  • Loading branch information
komret committed Dec 6, 2024
1 parent a83ce9e commit 30e73ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ class OnboardingPage {

skipFirmware() {
cy.getTestElement('@firmware/skip-button').click();
cy.getTestElement('@onboarding/skip-button-confirm').click();
}

setPin() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// @group_device-management
// @retry=2

import { onOnboardingPage } from '../../../support/pageObjects/onboardingObject';

const shareOneOfThree = [
'gesture',
'necklace',
Expand Down Expand Up @@ -57,7 +59,7 @@ describe('Onboarding - T2T1 in recovery mode', () => {
cy.getTestElement('@analytics/continue-button').click();
cy.getTestElement('@analytics/continue-button').click();

cy.getTestElement('@firmware/skip-button').click();
onOnboardingPage.skipFirmware();

cy.getTestElement('@onboarding/path-recovery-button').click();
});
Expand Down

0 comments on commit 30e73ae

Please sign in to comment.