-
-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable Firefox latest in cross-browser tests and disable end-to-end …
- Loading branch information
Showing
3 changed files
with
35 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -90,27 +90,27 @@ jobs: | |
|
||
|
||
# Start a SauceLabs tunnel for Nightwatch (Karma does this automatically) | ||
- name: Start tunnel for End-to-end tests | ||
uses: saucelabs/[email protected] | ||
with: | ||
username: ${{ secrets.SAUCE_USERNAME }} | ||
accessKey: ${{ secrets.SAUCE_ACCESS_KEY }} | ||
# - name: Start tunnel for End-to-end tests | ||
# uses: saucelabs/[email protected] | ||
# with: | ||
# username: ${{ secrets.SAUCE_USERNAME }} | ||
# accessKey: ${{ secrets.SAUCE_ACCESS_KEY }} | ||
|
||
- name: End-to-end tests (Cross-browser) | ||
env: | ||
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }} | ||
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }} | ||
run: | | ||
./node_modules/.bin/http-server . & | ||
sleep 2 | ||
curl "http://localhost:8080" | head | ||
# The free account on Sauce does not allow more than 5 concurrent sessions (including the main one) | ||
# So we separate the recent and old browsers in order to respect this limit. | ||
# REMINDER: Keep this list in sync with the Unit tests, in tests/karma.conf.saucelabs.js | ||
./node_modules/.bin/nightwatch -c nightwatch.js --env firefox,chrome,edge | ||
./node_modules/.bin/nightwatch -c nightwatch.js --env edge40,edge44 | ||
./node_modules/.bin/nightwatch -c nightwatch.js --env firefox45,chrome58,ie11 | ||
pkill node || echo "Node process not running (anymore)" | ||
# - name: End-to-end tests (Cross-browser) | ||
# env: | ||
# SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }} | ||
# SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }} | ||
# run: | | ||
# ./node_modules/.bin/http-server . & | ||
# sleep 2 | ||
# curl "http://localhost:8080" | head | ||
# # The free account on Sauce does not allow more than 5 concurrent sessions (including the main one) | ||
# # So we separate the recent and old browsers in order to respect this limit. | ||
# # REMINDER: Keep this list in sync with the Unit tests, in tests/karma.conf.saucelabs.js | ||
# ./node_modules/.bin/nightwatch -c nightwatch.js --env chrome,edge | ||
# ./node_modules/.bin/nightwatch -c nightwatch.js --env edge40,edge44 | ||
# ./node_modules/.bin/nightwatch -c nightwatch.js --env firefox52,chrome58 | ||
# pkill node || echo "Node process not running (anymore)" | ||
|
||
# Tests the list of offline files in the Service Worker and compares it to the contents of the www directory | ||
test-offline-files: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters