mirror of
https://github.com/trezor/trezor-suite.git
synced 2026-03-09 00:38:15 +01:00
several minor fixes where asserts or waitFor did not do anything other minor refactorings
13 lines
356 B
TypeScript
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();
|