diff --git a/run/test/specs/user_actions_hide_recovery_password.spec.ts b/run/test/specs/user_actions_hide_recovery_password.spec.ts index eceb9c52..e1cdaf8f 100644 --- a/run/test/specs/user_actions_hide_recovery_password.spec.ts +++ b/run/test/specs/user_actions_hide_recovery_password.spec.ts @@ -1,3 +1,4 @@ +import { englishStripped } from '../../localizer/i18n/localizedString'; import { bothPlatformsIt } from '../../types/sessionIt'; import { USERNAME } from '../../types/testing'; import { ContinueButton } from './locators/global'; diff --git a/run/types/sessionIt.ts b/run/types/sessionIt.ts index d77776b9..197f279c 100644 --- a/run/types/sessionIt.ts +++ b/run/types/sessionIt.ts @@ -1,6 +1,6 @@ import { test } from '@playwright/test'; import { SupportedPlatformsType } from '../test/specs/utils/open_app'; -import { testRisk } from './testing'; +import { TestRisk } from './testing'; export function androidIt( title: string, @@ -66,7 +66,7 @@ function mobileIt( export function bothPlatformsIt( title: string, - testRisk: testRisk, + testRisk: TestRisk, testToRun: (platform: SupportedPlatformsType) => Promise, shouldSkip = false ) { diff --git a/run/types/testing.ts b/run/types/testing.ts index d8fc9018..a2272325 100644 --- a/run/types/testing.ts +++ b/run/types/testing.ts @@ -370,8 +370,4 @@ export type Id = | 'com.android.chrome:id/signin_fre_dismiss_button' | 'com.android.chrome:id/negative_button'; -export type TestRisk = - | 'high' - | 'medium' - | 'low' - | 'undefined'; +export type TestRisk = 'high' | 'medium' | 'low' | undefined;