Skip to content

test(tooltip): add playwright tests #1380

test(tooltip): add playwright tests

test(tooltip): add playwright tests #1380

Workflow file for this run

name: Playwright
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
playwright-tests:
name: "Run Playwright tests"
timeout-minutes: 30
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright:v1.34.0-jammy
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ">=20.9.0 20"
- name: Cache central NPM modules
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: |
npm ci
npx playwright --version
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Playwright tests
run: npm run test:ct