mirror of https://github.com/OpenVidu/openvidu.git
openvidu-components: Refactored e2e library tests
parent
5d8f4033be
commit
fd6a076f55
File diff suppressed because it is too large
Load Diff
|
@ -57,4 +57,12 @@ export class OpenViduComponentsPO {
|
||||||
await this.waitForElement('#media-buttons-container');
|
await this.waitForElement('#media-buttons-container');
|
||||||
expect(await this.isPresent('#media-buttons-container')).to.be.true;
|
expect(await this.isPresent('#media-buttons-container')).to.be.true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Angular library
|
||||||
|
|
||||||
|
async clickOn(selector: string): Promise<void> {
|
||||||
|
const element = await this.waitForElement(selector);
|
||||||
|
await element.click();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue