fix: adjust playwright tests to new home-page button, and use 3 threads for fewer random failures

This commit is contained in:
2025-12-20 19:59:30 -07:00
parent e7ca2bb791
commit f460d6c3e2
6 changed files with 11 additions and 10 deletions

View File

@@ -107,7 +107,7 @@ test('Record something given', async ({ page }) => {
return !document.querySelector('.dialog-overlay');
}, { timeout: 5000 });
await page.getByRole('button', { name: 'Person' }).click();
await page.getByRole('button', { name: 'Thank' }).click();
await page.getByRole('listitem').filter({ hasText: UNNAMED_ENTITY_NAME }).locator('svg').click();
await page.getByPlaceholder('What was given').fill(finalTitle);
await page.getByRole('spinbutton').fill(randomNonZeroNumber.toString());