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