From 41c243e9f19deefd981a1075632a2413bef5fdef Mon Sep 17 00:00:00 2001 From: Jose Olarte III Date: Fri, 15 Aug 2025 15:11:38 +0800 Subject: [PATCH 1/2] Switch to single-worker mode --- playwright.config-local.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playwright.config-local.ts b/playwright.config-local.ts index c0e78047..32b7f023 100644 --- a/playwright.config-local.ts +++ b/playwright.config-local.ts @@ -21,7 +21,7 @@ export default defineConfig({ /* Retry on CI only */ retries: process.env.CI ? 2 : 0, /* Opt out of parallel tests on CI. */ - workers: isLinuxEnvironment() ? 4 : undefined, + workers: 1, /* Reporter to use. See https://playwright.dev/docs/test-reporters */ reporter: [ ['list'], From e15f540292832644ec9ce4c7de37000b185a517d Mon Sep 17 00:00:00 2001 From: Jose Olarte III Date: Fri, 15 Aug 2025 15:45:26 +0800 Subject: [PATCH 2/2] Fix: target success notification - Changed target element from span to h4 --- test-playwright/60-new-activity.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-playwright/60-new-activity.spec.ts b/test-playwright/60-new-activity.spec.ts index 889365f8..6dcd7640 100644 --- a/test-playwright/60-new-activity.spec.ts +++ b/test-playwright/60-new-activity.spec.ts @@ -24,7 +24,7 @@ test('New offers for another user', async ({ page }) => { await expect(page.locator('button > svg.fa-plus')).toBeVisible(); await page.locator('button > svg.fa-plus').click(); await page.locator('div[role="alert"] button:has-text("No")').click(); // don't register - await expect(page.locator('div[role="alert"] span:has-text("Success")')).toBeVisible(); + await expect(page.locator('div[role="alert"] h4:has-text("Success")')).toBeVisible(); await page.locator('div[role="alert"] button > svg.fa-xmark').click(); // dismiss info alert await expect(page.locator('div[role="alert"] button > svg.fa-xmark')).toBeHidden(); // ensure alert is gone