Files
trezor-suite/suite-native/app/e2e/pageObjects/devicePromptActions.ts
Martin Vere Cihlar aa866c7ae5 refactor(e2e-native): refactor and unite all waitFor methods to one
several minor fixes where asserts or waitFor did not do anything
other minor refactorings
2025-11-11 05:41:34 -04:00

13 lines
356 B
TypeScript

import { TrezorUserEnvLink } from '@trezor/trezor-user-env-link';
import { waitForVisible } from '../support/utils';
class DevicePromptActions {
async allowConnectToTrezor() {
await waitForVisible(by.id('@screen/ThpConfirmation'));
await TrezorUserEnvLink.pressYes();
}
}
export const onDevicePrompt = new DevicePromptActions();