fix: refine live region locator for status updates in Manual DNS Provider tests

This commit is contained in:
GitHub Actions
2026-02-14 03:14:32 +00:00
parent 17534bf4cf
commit ee1aaf7f46
+1 -1
View File
@@ -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();
});
});