Files
trezor-suite/suite-native/app/e2e/pageObjects/deviceAuthenticitySuccess.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

17 lines
461 B
TypeScript

import { waitForVisible } from '../support/utils';
class DeviceAuthenticitySuccess {
async waitForScreen() {
await waitForVisible(by.id('@screen/AuthenticitySuccess'));
}
async tapCloseButton() {
const closeButton = element(by.id('@device-authenticity/close-button'));
await waitForVisible(closeButton);
await closeButton.tap();
}
}
export const onDeviceAuthenticitySuccess = new DeviceAuthenticitySuccess();