Skip to content

Merge pull request #52 from modern-sapien/otel-implementation #134

Merge pull request #52 from modern-sapien/otel-implementation

Merge pull request #52 from modern-sapien/otel-implementation #134

Workflow file for this run

name: Playwright Integration Tests
on:
push:
branches:
- "*"
jobs:
test:
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Install dependencies
run: cd next-webstore && npm ci
- name: Install Playwright Browsers
run: cd next-webstore && npx playwright install chromium --with-deps
- name: Run Playwright tests
working-directory: ./next-webstore
# always setting NODE_ENV as test & running against localhost:3000
run: NEXT_PUBLIC_NODE_ENV=test NEXT_PUBLIC_ENVIRONMENT_URL=http://localhost:3000 npx playwright test
- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: next-webstore/playwright-report/
retention-days: 1