Skip to content

Commit 78e8e14

Browse files
authored
test: field update access control test times out locally (#15691)
### What The `ensure field with update access control is readOnly during both initial load and after saving` e2e test consistently times out when running locally but passes in CI. ### Why The test performs 3 saves + 2 reloads, each with 5-second network polling, plus form validations. This exceeds the default 20-second local test timeout but fits within CI's 60-second timeout (3x multiplier). ### How Added `test.setTimeout(TEST_TIMEOUT_LONG)` at the start of the test to use the extended timeout (same as the `beforeAll` hook)
1 parent 575f8e9 commit 78e8e14

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

test/access-control/e2e.spec.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,8 @@ describe('Access Control', () => {
155155
})
156156

157157
test('ensure field with update access control is readOnly during both initial load and after saving', async () => {
158+
test.setTimeout(TEST_TIMEOUT_LONG)
159+
158160
async function waitForFormState(action: 'reload' | 'save') {
159161
await assertNetworkRequests(
160162
page,

0 commit comments

Comments
 (0)