Install and configure Playwright #12

Merged
bustikiller merged 11 commits from playwright into main 2024-08-11 19:43:59 +00:00
Showing only changes of commit 74331c22cd - Show all commits

View File

@ -15,9 +15,11 @@ jobs:
node-version: lts/* node-version: lts/*
- name: Install dependencies - name: Install dependencies
run: npm install -g pnpm && pnpm install run: npm install -g pnpm && pnpm install
- name: Build and start the service that will be tested - name: Build the service that will be tested
run: npm run build && npm run start & run: npm run build
- name: Install Playwright Browsers - name: Install Playwright Browsers
run: pnpm exec playwright install --with-deps run: pnpm exec playwright install --with-deps
- name: Run the service that will be tested
run: npm run start &
- name: Run Playwright tests - name: Run Playwright tests
run: pnpm exec playwright test run: pnpm exec playwright test