Skip to content

Testing integrations

Rob Green edited this page Sep 11, 2025 · 1 revision

Testing integrations

The extension comes with both automated and manual testing options.


Automated Playwright tests

  • Location: tests/playwright
  • Run with:
npm i
grunt playwright
cd tests/playwright
npm i
npx playwright install --with-deps chromium
npx playwright test
  • Tests validate that integrations correctly inject icons and trigger Servarr searches.

Unit tests

  • Minimal coverage, mainly to check code changes.
  • Run with:
npm i
npm run test

Uses Jest.


Manual debugging

  • Enable Debug mode in settings.
  • Watch the console for [ServarrExt …] logs.
  • Adjust deferMs or selectors if icons don’t appear.
  • Test across multiple supported sites (IMDb, TMDb, Trakt, MusicBrainz, etc.).

Clone this wiki locally