Skip to content

Commit 692e8e4

Browse files
committed
CCM-8962: update test timeout to 35 seconds. Teardown hook is taking 31 seconds with new data
1 parent e796de1 commit 692e8e4

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

tests/test-team/config/e2e/e2e.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import baseConfig from '../playwright.config';
55
export default defineConfig({
66
...baseConfig,
77

8-
timeout: 30_000, // 30 seconds in the playwright default
8+
timeout: 35_000, // 35 seconds in the playwright default
99
expect: {
1010
timeout: 10_000, // default is 5 seconds. After creating and previewing sometimes the load is slow on a cold start
1111
},

tests/test-team/template-mgmt-component-tests/template-mgmt-submit-page.component.spec.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -145,21 +145,21 @@ async function createTemplates() {
145145
owner: user.userId,
146146
} as Template,
147147
submit: TemplateFactory.createLetterTemplate(
148-
'test-template-name',
149-
user.userId,
150148
'submit-letter-submit-template',
149+
user.userId,
150+
'test-template-name',
151151
'PASSED'
152152
),
153153
submitAndReturn: TemplateFactory.createLetterTemplate(
154-
'test-template-name',
155-
user.userId,
156154
'submit-and-return-letter-template',
155+
user.userId,
156+
'test-template-name',
157157
'PASSED'
158158
),
159159
valid: TemplateFactory.createLetterTemplate(
160-
'test-template-name',
161-
user.userId,
162160
'valid-letter-submit-template',
161+
user.userId,
162+
'test-template-name',
163163
'PASSED'
164164
),
165165
},

0 commit comments

Comments
 (0)