Skip to content

Commit

Permalink
Migrate from Cypress to Playwright (#35)
Browse files Browse the repository at this point in the history
* Migrate from Cypress to Playwright

* Install Playwright

* Install only Chromium
  • Loading branch information
elchininet authored Jan 31, 2024
1 parent cc2a275 commit 765fe66
Show file tree
Hide file tree
Showing 21 changed files with 1,729 additions and 2,223 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
- name: Publish
run: |
yarn install --frozen-lockfile
npx playwright install --with-deps chromium
npm publish --provenance
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ jobs:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: dependencies-v1-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
- name: Install
run: yarn install --frozen-lockfile
run: |
yarn install --frozen-lockfile
npx playwright install --with-deps chromium
- name: Linting Code
run: yarn lint
- name: TypeScript Check
Expand Down
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
/dist
/demo/scripts/*.js
/demo/scripts/*.d.ts
/instrumented
/coverage
/.nyc_output
/cypress/screenshots
/test-results/
/playwright-report/
/blob-report/
/playwright/.cache/
11 changes: 0 additions & 11 deletions cypress.config.ts

This file was deleted.

Loading

0 comments on commit 765fe66

Please sign in to comment.