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

@@ -116,7 +116,7 @@ test('Record 9 new gifts', async ({ page }) => {
if (i === 0) {
await page.getByTestId('closeOnboardingAndFinish').click();
}
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(finalTitles[i]);
await page.getByRole('spinbutton').fill(finalNumbers[i].toString());