SWitch from Cypress (which was broken) to Playwright (which is a joy … #1
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
#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@v4 | |
# - uses: actions/setup-node@v4 | |
# with: | |
# node-version: lts/* | |
# - name: Start MongoDB | |
# uses: supercharge/[email protected] | |
# with: | |
# mongodb-version: 6.0 | |
# - name: Setup mongodb-tools | |
# run: | | |
# wget https://fastdl.mongodb.org/tools/db/mongodb-database-tools-ubuntu2204-x86_64-100.6.1.deb | |
# sudo apt install ./mongodb-database-tools-*-100.6.1.deb | |
# mongorestore --version | |
# - name: Install dependencies | |
# run: npm ci | |
# - name: Install Playwright Browsers | |
# run: npx playwright install --with-deps | |
# - name: RUn the test forms-angular website (how?) | |
# | |
# - name: Run Playwright tests | |
# run: npx playwright test | |
# - uses: actions/upload-artifact@v4 | |
# if: always() | |
# with: | |
# name: playwright-report | |
# path: playwright-report/ | |
# retention-days: 30 |