Skip to content

Commit

Permalink
ci: Fixed e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
CSantosM committed Aug 1, 2024
1 parent 2c3bcba commit c09ac21
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/openvidu-call-e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:

jobs:
prepare_openvidu_components_angular:
name: Prepare openvidu-angular
name: Prepare openvidu-components-angular
runs-on: ubuntu-latest
steps:
- env:
Expand Down Expand Up @@ -80,12 +80,12 @@ jobs:
sleep 5
done
- name: Serve openvidu-call
env:
CALL_PRIVATE_ACCESS: true
run: node openvidu-call-back/dist/server.js &
- name: Run tests
env:
LAUNCH_MODE: CI
CALL_PRIVATE_ACCESS: true

run: npm run e2e:auth --prefix openvidu-call-front

home_e2e_test:
Expand Down Expand Up @@ -218,4 +218,4 @@ jobs:
env:
LAUNCH_MODE: CI
CALL_PRIVATE_ACCESS: false
run: npm run e2e:recording --prefix openvidu-call-front
run: npm run e2e:recordings --prefix openvidu-call-front
2 changes: 1 addition & 1 deletion openvidu-call-front/e2e/recording.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ describe('Testing recordings', () => {
await utils.checkRecordingIsStarting();
await utils.checkRecordingIsStarted();

await browser.sleep(2000);
await browser.sleep(5000);

await utils.stopRecordingFromPanel();
await utils.checkRecordingIsStopped();
Expand Down
1 change: 1 addition & 0 deletions openvidu-call-front/e2e/selenium.conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ const chromeArguments = [
'--use-fake-device-for-media-stream'
];
const chromeArgumentsCI = [
'--window-size=1300,1000',
'--headless',
'--no-sandbox',
'--disable-gpu',
Expand Down

0 comments on commit c09ac21

Please sign in to comment.