From ee1aaf7f4605ae3e2811392bd5fa736c55d68411 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Sat, 14 Feb 2026 03:14:32 +0000 Subject: [PATCH] fix: refine live region locator for status updates in Manual DNS Provider tests --- tests/manual-dns-provider.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/manual-dns-provider.spec.ts b/tests/manual-dns-provider.spec.ts index fe115b20..21f721ae 100644 --- a/tests/manual-dns-provider.spec.ts +++ b/tests/manual-dns-provider.spec.ts @@ -385,7 +385,7 @@ test.describe('Manual DNS Provider Feature', () => { await page.goto('/dns/providers'); await waitForLoadingComplete(page); await test.step('Verify live region for status updates', async () => { - const liveRegion = page.locator('[aria-live="polite"]').or(page.locator('[role="status"]')); + const liveRegion = page.locator('[aria-live="polite"], [role="status"]').first(); await expect(liveRegion).toBeAttached(); }); });