Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(e2e): fix e2e tests #1116

Merged
merged 9 commits into from
Aug 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions .github/workflows/browserstack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ jobs:
- name: "BrowserStack Local Tunnel Setup" # Invokes the setup-local action
uses: browserstack/github-actions/setup-local@master
with:
local-testing: start
local-identifier: peerjs-${{ github.run_id }}-${{ github.run_attempt }}
local-testing: "start"
local-logging-level: "all-logs"
local-identifier: "random"

# The next 3 steps are for building the web application to be tested and starting the web server on the runner environment

Expand All @@ -30,10 +31,8 @@ jobs:

- name: "Running test on BrowserStack" # Invokes the actual test script that would run on BrowserStack browsers
run: npm run e2e:bstack # See sample test script above
env:
BROWSERSTACK_LOCAL_IDENTIFIER: peerjs-${{ github.run_id }}-${{ github.run_attempt }}

- name: "BrowserStackLocal Stop" # Terminating the BrowserStackLocal tunnel connection
uses: browserstack/github-actions/setup-local@master
with:
local-testing: stop
local-testing: "stop"
6 changes: 0 additions & 6 deletions .parcelrc

This file was deleted.

4 changes: 2 additions & 2 deletions e2e/wdio.shared.conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,10 @@ export const config: Omit<WebdriverIO.Config, "capabilities"> = {
framework: "jasmine",
//
// The number of times to retry the entire specfile when it fails as a whole
// specFileRetries: 1,
specFileRetries: 1,
//
// Whether or not retried specfiles should be retried immediately or deferred to the end of the queue
// specFileRetriesDeferred: false,
specFileRetriesDeferred: true,
//
// Test reporter for stdout.
// The only one supported by default is 'dot'
Expand Down
Loading
Loading