@@ -18,7 +18,7 @@ export class OnboardingActions {
18
18
readonly pin : PinActions ;
19
19
readonly tutorial : TutorialActions ;
20
20
21
- readonly welcomeTitle : Locator ;
21
+ readonly welcomeBody : Locator ;
22
22
readonly onboardingContinueButton : Locator ;
23
23
readonly onboardingViewOnlySkipButton : Locator ;
24
24
readonly onboardingViewOnlyEnableButton : Locator ;
@@ -52,7 +52,7 @@ export class OnboardingActions {
52
52
this . tutorial = new TutorialActions ( page ) ;
53
53
this . pin = new PinActions ( page ) ;
54
54
55
- this . welcomeTitle = this . page . getByTestId ( '@welcome/title ' ) ;
55
+ this . welcomeBody = this . page . getByTestId ( '@welcome-layout/body ' ) ;
56
56
this . onboardingContinueButton = this . page . getByTestId ( '@onboarding/exit-app-button' ) ;
57
57
this . onboardingViewOnlySkipButton = this . page . getByTestId ( '@onboarding/viewOnly/skip' ) ;
58
58
this . onboardingViewOnlyEnableButton = this . page . getByTestId ( '@onboarding/viewOnly/enable' ) ;
@@ -83,7 +83,7 @@ export class OnboardingActions {
83
83
84
84
@step ( )
85
85
async optionallyDismissFwHashCheckError ( ) {
86
- await expect ( this . welcomeTitle ) . toBeVisible ( { timeout : 10000 } ) ;
86
+ await expect ( this . welcomeBody ) . toBeVisible ( { timeout : 10000 } ) ;
87
87
// dismisses the error modal only if it appears (handle it async in parallel, not necessary to block the rest of the flow)
88
88
this . page
89
89
. $ ( '[data-testid="@device-compromised/back-button"]' )
@@ -114,7 +114,7 @@ export class OnboardingActions {
114
114
return ;
115
115
}
116
116
117
- await expect ( this . welcomeTitle ) . toBeVisible ( { timeout : 10000 } ) ;
117
+ await expect ( this . welcomeBody ) . toBeVisible ( { timeout : 10000 } ) ;
118
118
// eslint-disable-next-line @typescript-eslint/no-shadow
119
119
await this . page . evaluate ( SuiteActions => {
120
120
window . store . dispatch ( {
0 commit comments