Skip to content

Commit

Permalink
Remove webkit testing from test-cypress.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Xavier Metichecchia authored and Xavier Metichecchia committed Nov 25, 2024
1 parent aca68ba commit d84c140
Showing 1 changed file with 3 additions and 44 deletions.
47 changes: 3 additions & 44 deletions .github/workflows/test-cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ defaults:
working-directory: ./benefit-finder

jobs:

tests-chrome:
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -45,7 +44,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: Chrome cypress screenshots
path: ./benefit-finder/cypress/screenshots
path: ./benefit-finder/cypress/screenshots

tests-firefox:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -77,7 +76,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: Firefox cypress screenshots
path: ./benefit-finder/cypress/screenshots
path: ./benefit-finder/cypress/screenshots

tests-edge:
runs-on: ubuntu-latest
Expand All @@ -103,50 +102,10 @@ jobs:
env: NODE_ENV=test
build: "npm run cy:build:storybook"
start: "npm run cy:run:pipeline"

- name: Edge Artifact(s)
if: failure()
uses: actions/upload-artifact@v4
with:
name: Edge cypress screenshots
path: ./benefit-finder/cypress/screenshots

tests-webkit:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Node
uses: actions/setup-node@v4
with:
node-version-file: "./benefit-finder/package.json"

- name: Install Submodule
run: |
cd ..
git submodule init
git submodule update
- name: Install dependencies
uses: cypress-io/github-action@v6
with:
working-directory: ./benefit-finder
build: npx playwright-webkit install-deps
runTests: false

- name: Cypress run (WebKit)
uses: cypress-io/github-action@v6
with:
working-directory: ./benefit-finder
install: false
browser: webkit
env: NODE_ENV=test
build: "npm run cy:build:storybook"
start: "npm run cy:run:pipeline"

- name: Webkit Artifact(s)
if: failure()
uses: actions/upload-artifact@v4
with:
name: Webkit cypress screenshots
path: ./benefit-finder/cypress/screenshots

0 comments on commit d84c140

Please sign in to comment.