Skip to content

App e2e test

App e2e test #2

Workflow file for this run

name: App e2e test
on:
workflow_dispatch:
inputs:
app:
description: 'App name'
required: true
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up node
uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Install dependencies
run: npm install -g pnpm && pnpm install
- name: Install Playwright Browsers
run: pnpm exec playwright install --with-deps
- name: Start runtipi
run: ./.github/scripts/start-tipi.sh
- name: Run Playwright tests
run: APP_NAME=${{ github.event.inputs.app }} pnpm exec playwright test
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: playwright-report/