Skip to content

Commit

Permalink
AG-1215 removed cypress and added playwright
Browse files Browse the repository at this point in the history
  • Loading branch information
sagely1 committed Oct 25, 2023
1 parent e7db51a commit 0103ec9
Show file tree
Hide file tree
Showing 13 changed files with 230 additions and 1,363 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Playwright Tests
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Playwright tests
run: npx playwright test
- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ npm-debug.log
yarn-error.log

# Testing
/testing/cypress/downloads
/testing/cypress/screenshots
/testing/cypress/videos
/test-results/
/playwright-report/
/playwright/.cache/
/testing/spec-build
/coverage

Expand Down
15 changes: 0 additions & 15 deletions config/cypress.config.js

This file was deleted.

Loading

0 comments on commit 0103ec9

Please sign in to comment.