From 31dd06c7e87813d5b2b68c2db97416f53cac9c2e Mon Sep 17 00:00:00 2001 From: Carlos Santos <4a.santos@gmail.com> Date: Tue, 30 Jul 2024 16:07:02 +0200 Subject: [PATCH] ci: Updated e2e tests --- .../workflows/openvidu-components-angular-E2E.yml | 12 +++++++++--- openvidu-components-angular/package.json | 3 --- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/openvidu-components-angular-E2E.yml b/.github/workflows/openvidu-components-angular-E2E.yml index 474f94af8b..bc5197ba68 100644 --- a/.github/workflows/openvidu-components-angular-E2E.yml +++ b/.github/workflows/openvidu-components-angular-E2E.yml @@ -98,7 +98,9 @@ jobs: sleep 5 done - name: Run nested components E2E event tests - run: npm run e2e:nested-events-ci --prefix openvidu-components-angular + env: + LAUNCH_MODE: CI + run: npm run e2e:nested-events --prefix openvidu-components-angular nested_components_e2e_directives: needs: test_setup @@ -153,7 +155,9 @@ jobs: sleep 5 done - name: Run nested components E2E directives tests - run: npm run e2e:nested-directives-ci --prefix openvidu-components-angular + env: + LAUNCH_MODE: CI + run: npm run e2e:nested-directives --prefix openvidu-components-angular webcomponent_e2e_directives: needs: test_setup @@ -207,4 +211,6 @@ jobs: sleep 5 done - name: Run Webcomponent E2E - run: LAUNCH_MODE=CI npm run e2e:webcomponent-directives --prefix openvidu-components-angular + env: + LAUNCH_MODE: CI + run: npm run e2e:webcomponent-directives --prefix openvidu-components-angular diff --git a/openvidu-components-angular/package.json b/openvidu-components-angular/package.json index 9b66658c20..840be22fa4 100644 --- a/openvidu-components-angular/package.json +++ b/openvidu-components-angular/package.json @@ -92,9 +92,6 @@ "e2e:nested-all": "tsc --project ./e2e && npx mocha --recursive --timeout 30000 ./e2e/dist/nested-components/*.test.js", "e2e:nested-events": "tsc --project ./e2e && npx mocha --recursive --timeout 30000 ./e2e/dist/nested-components/events.test.js", "e2e:nested-directives": "tsc --project ./e2e && npx mocha --recursive --timeout 30000 ./e2e/dist/nested-components/directives.test.js", - "e2e:nested-all-ci": "cross-env LAUNCH_MODE=CI npm run e2e:nested-all", - "e2e:nested-events-ci": "cross-env LAUNCH_MODE=CI npm run e2e:nested-events", - "e2e:nested-directives-ci": "cross-env LAUNCH_MODE=CI npm run e2e:nested-directives", "e2e:webcomponent-all": "tsc --project ./e2e && npx mocha --recursive --timeout 30000 ./e2e/dist/webcomponent-e2e/**/*.test.js", "e2e:webcomponent-directives": "tsc --project ./e2e && npx mocha --recursive --timeout 30000 ./e2e/dist/webcomponent-e2e/api-directives.test.js", "e2e:webcomponent-captions": "tsc --project ./e2e && npx mocha --recursive --timeout 30000 ./e2e/dist/webcomponent-e2e/captions.test.js",