fix: update page navigation handling for WAF & Rate Limit Interaction tests for improved reliability

This commit is contained in:
GitHub Actions
2026-02-15 05:45:03 +00:00
parent c8a6542c06
commit e466bb7839

View File

@@ -16,8 +16,8 @@ test.describe('WAF & Rate Limit Interaction', () => {
};
test.beforeEach(async ({ page }) => {
await page.goto('/', { waitUntil: 'networkidle' });
await page.waitForSelector('[role="main"]', { timeout: 5000 });
await page.goto('/', { waitUntil: 'domcontentloaded' });
await page.waitForLoadState('networkidle');
});
test.afterEach(async ({ page }) => {