e2ed
Version:
E2E testing framework over Playwright
16 lines (12 loc) • 411 B
text/typescript
import {Page} from 'e2ed';
import type {MobileDeviceModel} from 'autotests/types';
type PageParams<CustomPageParams> = CustomPageParams & Readonly<{mobileDevice?: MobileDeviceModel}>;
/**
* Abstract mobile page.
*/
export abstract class MobilePage<CustomPageParams> extends Page<PageParams<CustomPageParams>> {
/**
* Type of mobile device.
*/
abstract readonly mobileDevice: MobileDeviceModel;
}