* Added `@wdio/cli` as a development dependency for improved test command handling. * Refactored URL construction in the `Page` class to enhance clarity and maintainability. * Updated import statements in `Subscribing.page.ts` for consistency and removed unnecessary options in the constructor.
17 lines
343 B
TypeScript
17 lines
343 B
TypeScript
import {$} from '@wdio/globals';
|
|
import Page, {PageOpenOptions} from './Page';
|
|
|
|
export class SubscribingPage extends Page {
|
|
constructor(baseUri: string) {
|
|
super(baseUri);
|
|
}
|
|
|
|
get videoElement() {
|
|
return $('video');
|
|
}
|
|
|
|
public override async open(options?: PageOpenOptions): Promise<void> {
|
|
await super.open(options);
|
|
}
|
|
}
|