Reconcile verified account IDs and make language repairs observable
Magent CI/CD / verify (push) Successful in 1m50s
Magent CI/CD / deploy-prod (push) Skipped
Magent CI/CD / deploy-beta (push) Skipped

This commit is contained in:
2026-09-11 19:56:32 +12:00
parent 38169b881e
commit de25255ea8
25 changed files with 593 additions and 160 deletions
+4 -3
View File
@@ -26,14 +26,15 @@ const base = process.env.REVIEW_BASE || 'http://localhost:3114';
await page.getByLabel('Title', { exact: true }).fill('Pans Labyrinth');
await page.getByRole('button', { name: 'Search Seerr' }).click();
await page.getByRole('button', { name: /Pan's Labyrinth/ }).click();
await page.getByRole('heading', { name: 'Check the audio language' }).waitFor();
await page.getByRole('heading', { name: 'Choose your audio language' }).waitFor();
assert(await page.locator('.request-language-notice').getByText('Spanish', { exact: true }).isVisible());
const consent = page.getByRole('checkbox');
const consent = page.getByRole('radio', { name: /Original Spanish audio/ });
assert(await page.getByRole('button', { name: 'Request movie', exact: true }).isDisabled());
assert(!await consent.isChecked());
await consent.check();
await page.getByRole('button', { name: 'Change title', exact: true }).click();
await page.getByRole('button', { name: /Pan's Labyrinth/ }).click();
await page.getByRole('heading', { name: 'Check the audio language' }).waitFor();
await page.getByRole('heading', { name: 'Choose your audio language' }).waitFor();
assert(!await consent.isChecked(), 'Consent resets when changing titles');
await consent.check();
assert(await page.evaluate(() => document.documentElement.scrollWidth <= innerWidth));