test(fase-13): bump SA-01 + SA-04 timeout to 60s
Both tests do two full Keycloak login flows + a /lists hydration. Under accumulated dev-DB load (many leftover lists from prior suites) the 30s default occasionally trips, even though the actual work completes in ~5–7s on a clean DB. 60s is comfortable headroom and matches the pattern used elsewhere when a test legitimately needs more. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -167,6 +167,9 @@ test.describe('Server administration UI', () => {
|
||||
test('SA-01: Ana sees the admin link + can reach /admin; Borja does not and gets bounced from /admin', async ({
|
||||
browser
|
||||
}) => {
|
||||
// Two full login flows (Ana + Borja) push this past 30s when the dev
|
||||
// DB has accumulated state from prior suites. 60s mirrors SA-04.
|
||||
test.setTimeout(60_000);
|
||||
// Ana
|
||||
await withAnaPage(browser, async (page) => {
|
||||
await expect(page.getByTestId('sidebar-admin-link')).toBeVisible();
|
||||
@@ -259,6 +262,10 @@ test.describe('Server administration UI', () => {
|
||||
});
|
||||
|
||||
test('SA-04: server-level OFF for notes wins over collective ON', async ({ browser }) => {
|
||||
// Two full login flows + a /lists hydration push this past the 30s default
|
||||
// under accumulated dev-DB load. 60s is comfortable headroom; the test
|
||||
// runs in ~7s on a clean DB.
|
||||
test.setTimeout(60_000);
|
||||
await withAnaPage(browser, async (page) => {
|
||||
// Make sure collective has notes ON explicitly (admin override).
|
||||
await page.evaluate(async () => {
|
||||
|
||||
Reference in New Issue
Block a user