commit b80a3ffacc25c79e3411c4226ae7a09a2c0184ae
parent 7ea08c596e65305aec68beeddad8c6210f8a6447
Author: Marcel <mtrnord1@gmail.com>
Date: Sat, 13 Jun 2020 21:45:35 +0200
Disable firefox tests
Took 5 minutes
Diffstat:
2 files changed, 30 insertions(+), 32 deletions(-)
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
@@ -26,31 +26,31 @@ jobs:
with:
name: cypress-videos
path: cypress/videos
- firefox:
- runs-on: ubuntu-latest
- container:
- image: cypress/browsers:node12.16.1-chrome80-ff73
- options: --user 1001
- steps:
- - uses: actions/checkout@v1
- - uses: cypress-io/github-action@v1
- with:
- browser: firefox
- command: npm run test:firefox
- # after the test run completes
- # store videos and any screenshots
- # NOTE: screenshots will be generated only if E2E test failed
- # thus we store screenshots only on failures
- # Alternative: create and commit an empty cypress/screenshots folder
- # to always have something to upload
- - uses: actions/upload-artifact@v1
- if: failure()
- with:
- name: cypress-screenshots
- path: cypress/screenshots
- # Test run video was always captured, so this action uses "always()" condition
- - uses: actions/upload-artifact@v1
- if: always()
- with:
- name: cypress-videos
- path: cypress/videos
+ #firefox:
+ # runs-on: ubuntu-latest
+ # container:
+ # image: cypress/browsers:node12.16.1-chrome80-ff73
+ # options: --user 1001
+ # steps:
+ # - uses: actions/checkout@v1
+ # - uses: cypress-io/github-action@v1
+ # with:
+ # browser: firefox
+ # command: npm run test:firefox
+ # # after the test run completes
+ # # store videos and any screenshots
+ # # NOTE: screenshots will be generated only if E2E test failed
+ # # thus we store screenshots only on failures
+ # # Alternative: create and commit an empty cypress/screenshots folder
+ # # to always have something to upload
+ # - uses: actions/upload-artifact@v1
+ # if: failure()
+ # with:
+ # name: cypress-screenshots
+ # path: cypress/screenshots
+ # # Test run video was always captured, so this action uses "always()" condition
+ # - uses: actions/upload-artifact@v1
+ # if: always()
+ # with:
+ # name: cypress-videos
+ # path: cypress/videos
diff --git a/package.json b/package.json
@@ -2,16 +2,14 @@
"private": true,
"scripts": {
"test": "yarn run test:chrome",
- "test:chrome": "start-server-and-test start http-get://localhost:8888 cy:run",
- "test:firefox": "start-server-and-test start http-get://localhost:8888 cy:run:firefox",
+ "test:chrome": "start-server-and-test start http-get://localhost:8888 cy:run:ci",
"build:dev": "webpack --mode development",
"build": "webpack --mode production",
"start:dev": "webpack-dev-server --mode development",
"start": "yarn run start:dev",
"start:prod": "webpack-dev-server --mode production",
"cy:open": "cypress open",
- "cy:run": "cypress run --browser chrome --record --key 99194b81-775d-4e98-9bac-8f2cc12bc62e",
- "cy:run:firefox": "cypress run --browser firefox --record --key 99194b81-775d-4e98-9bac-8f2cc12bc62e"
+ "cy:run:ci": "cypress run --browser chrome --record --key 99194b81-775d-4e98-9bac-8f2cc12bc62e --ci-build-id $GITHUB_RUN_ID --group github-action-e2e"
},
"devDependencies": {
"@wasm-tool/wasm-pack-plugin": "^1.3.1",