Skip to content

chore(deps): update dependency @playwright/test to v1.49.1 #131

chore(deps): update dependency @playwright/test to v1.49.1

chore(deps): update dependency @playwright/test to v1.49.1 #131

Workflow file for this run

name: Playwright Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Install dependencies
run: npm ci
- name: Install cross-env
run: npm i -g cross-env
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Test database deployment
run: docker-compose up -d
- name: Seeding
run: cross-env DATABASE_URL=mongodb://localhost:27017/chooseyourplace node scripts/seed.js
- name: Run Playwright tests
run: cross-env DATABASE_URL=mongodb://localhost:27017/chooseyourplace npm run test:e2e