openvidu-components: Refactored e2e library tests

pull/748/head
Carlos Santos 2022-10-18 16:47:34 +02:00
parent 5d8f4033be
commit fd6a076f55
2 changed files with 414 additions and 810 deletions

File diff suppressed because it is too large Load Diff

View File

@ -57,4 +57,12 @@ export class OpenViduComponentsPO {
await this.waitForElement('#media-buttons-container');
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();
}
}