Skip to content

Commit

Permalink
openvidu-angular: Fixed webcomponents e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
CSantosM committed Nov 25, 2022
1 parent c6cf3b9 commit bc3613c
Show file tree
Hide file tree
Showing 4 changed files with 68 additions and 65 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/openvidu-components-angular-E2E.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:

webcomponent_e2e:
needs: test_setup
name: Webcomponent E2E tests
name: Webcomponent E2E CE tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 2 additions & 0 deletions openvidu-components-angular/e2e/utils.po.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ export class OpenViduComponentsPO {
constructor(private browser: WebDriver) {}

async waitForElement(selector: string): Promise<WebElement> {
console.log('Waiting for ', selector);

return await this.browser.wait(
until.elementLocated(By.css(selector)),
this.TIMEOUT,
Expand Down
2 changes: 1 addition & 1 deletion openvidu-components-angular/e2e/webcomponent-app/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ $(document).ready(() => {
var url = new URL(window.location.href);

OPENVIDU_SERVER_URL = url.searchParams.get('OV_URL');
OPENVIDU_SECRET = url.searchParams.get('OV_SECRET')
OPENVIDU_SECRET = url.searchParams.get('OV_SECRET');


SINGLE_TOKEN = url.searchParams.get('singleToken') === null ? false : url.searchParams.get('singleToken') === 'true';
Expand Down
Loading

0 comments on commit bc3613c

Please sign in to comment.