teliaplay-e2e
Playwright end-to-end test suite for the production Telia Play web app, run against live SE/FI/NO market URLs.
Overview
teliaplay-e2e is a standalone Playwright suite that exercises the
production Telia Play web app (https://www.teliaplay.se/ and its FI/NO
siblings) — it ships no app of its own, only tests. It's for engineers
verifying prod (or a pilot/preview host) behaves correctly across markets:
login, menu, my list, poster, profiles, search, and accessibility flows.
Tests run against live URLs; there is no local dev server to start.
Stack
@playwright/test— browser automation and test runner@axe-core/playwright— accessibility (a11y) checkseffect— suite helpersdotenv— loads market credentials from.env- Vitest +
@effect/vitest— unit tests for the suite's own helpers @repo/testing(workspace) — shared test utilities
Develop
pnpm install # from repo root
cp apps/teliaplay-e2e/.env.example apps/teliaplay-e2e/.env # then fill in credentials
pnpm -F @repo/teliaplay-e2e test:e2e:install # one-time Chromium installTest
pnpm -F @repo/teliaplay-e2e test # unit tests for suite helpers (vitest)
pnpm -F @repo/teliaplay-e2e test:e2e # all active projects (prod SE/FI/NO)
pnpm -F @repo/teliaplay-e2e test:e2e:se # SE full-access only
pnpm -F @repo/teliaplay-e2e test:e2e:fi # FI full-access + logged-out
pnpm -F @repo/teliaplay-e2e test:e2e:no # NO full-access only
pnpm -F @repo/teliaplay-e2e test:e2e:pilot # all 3 markets → teliaplay-pilot.{se,fi,no}
pnpm -F @repo/teliaplay-e2e test:e2e:ui # interactive UI mode
pnpm -F @repo/teliaplay-e2e test:e2e:debug # inspector
pnpm -F @repo/teliaplay-e2e test:e2e:burn # repeat-each=5 flake hunt
pnpm -F @repo/teliaplay-e2e test:e2e:report # open last HTML reportThe login gateway always stays on prod
(logingateway.teliaplay.{se,fi,no}), even in pilot mode — test accounts
are registered against the prod IDP, so hitting the pilot gateway 401s.
Build & deploy
There is no build step — this is a test suite, not a deployed app. CI runs it
via manual dispatch only (.github/workflows/teliaplay-e2e.yml); the
scheduled nightly run is disabled pending TEST_TELIA_SE_* GitHub Secrets.
Deploy target: Internal / not separately deployed.
Structure
apps/teliaplay-e2e/
├── playwright.config.ts Project matrix (SE/FI/NO active, SE_PILOT opt-in)
├── fixtures/ Custom test fixtures (market, accountType, page setup)
├── helpers/ Pure async utilities (credentials, GraphQL, scroll, GTM)
├── pages/ Page Object Models
├── tests/ Spec files + auth.setup.ts
└── types/ Market / AccountType / MARKET_CONFIGS / SDK_CONFIGSee the apps overview and the monorepo overview.