Files
shazarr/.github/workflows/playwright.yml
T
cl.st e7ebedaf84 feat: make landscape more friendly (#288)
* feat: make landscape more friendly

* update tests

* feat: add homepage card result

* chore: bump Playwright Docker image to v1.60.0-noble

* ci: run Playwright on pull_request to main to enable required status check

* feat: InlineResultCard opens Result drawer on click (image, title, eye icon)

* feat: display title and artist on separate lines in InlineResultCard

* ci: run Playwright only on push to main (not all branches) to avoid double runs

* test: update linux snapshots after UI changes

* fix: dismiss inline card on open result + remove double history add

* fix: single history add on success, inline card opens result without unmounting

* fix: restore offline record save on API error

* refacto shazam provider
2026-05-16 00:42:54 +02:00

42 lines
923 B
YAML

name: Playwright Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
concurrency:
group: ${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
name: 'Playwright Tests'
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 10
run_install: false
- uses: actions/setup-node@v4
with:
node-version: "22.x"
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Run Playwright tests
run: pnpm run testing:ci
- uses: actions/upload-artifact@v4
if: failure()
with:
name: playwright-report
path: ./testing/playwright-report/
retention-days: 30