support
4 requirements and 10 scenarios in openspec/specs/support/spec.md. A scenario’s test is test('<scenario>') inside describe('<requirement>'), in Vitest or Playwright.
The support address follows the language
Section titled “The support address follows the language”Playwright: e2e/support.spec.ts
| Scenario | Tests |
|---|---|
| Finnish shows tuki@ | Playwright e2e/support.spec.ts |
| Swedish and English show support@ | Playwright e2e/support.spec.ts |
Help when the sign-in code does not arrive
Section titled “Help when the sign-in code does not arrive”Playwright: e2e/support.spec.ts
| Scenario | Tests |
|---|---|
| The code step shows the support address | Vitest src/features/authentication/SignInPage.test.tsxPlaywright e2e/support.spec.ts |
| The email step does not show it | Vitest src/features/authentication/SignInPage.test.tsxPlaywright e2e/support.spec.ts |
Help and support on the account page
Section titled “Help and support on the account page”Playwright: e2e/support.spec.ts
| Scenario | Tests |
|---|---|
| The account page shows Help and support | Vitest src/features/account/AccountPage.test.tsxPlaywright e2e/support.spec.ts |
| The link to the user guide | Playwright e2e/support.spec.ts |
| The user guide in Swedish | Playwright e2e/support.spec.ts |
The support address in every email
Section titled “The support address in every email”Playwright: e2e/support.spec.ts
| Scenario | Tests |
|---|---|
| The sign-in code email shows the Finnish support address | Vitest src/features/authentication/sign-in.server.test.tsPlaywright e2e/support.spec.ts |
| The invitation email shows the recipient’s support address | Vitest src/features/sharing/invitation-email.test.ts |
| The support address in the HTML is a link | Vitest src/server/email/layout.test.ts |