Skip to content

Commit 45e945b

Browse files
VIA-245 AS Increase timeouts of beforeAll block in snapshot tests
1 parent 0279270 commit 45e945b

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

e2e/snapshot/app.snapshot.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ test.describe("E2E", () => {
1111
let fileName: string;
1212

1313
test.beforeAll(async ({ browser }, testInfo: TestInfo) => {
14-
testInfo.setTimeout(60_000);
14+
testInfo.setTimeout(60000);
1515
page = await login(browser, users.Default.email);
1616
projectName = testInfo.project.name;
1717
fileName = testInfo.file.split("/").pop()!;

e2e/snapshot/eligibility.snapshot.spec.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ test.describe("E2E", () => {
1515
});
1616

1717
test.describe("Not Eligible", () => {
18-
test.beforeAll(async ({ browser }) => {
18+
test.beforeAll(async ({ browser }, testInfo) => {
19+
testInfo.setTimeout(60000);
1920
page = await login(browser, users.NotEligible.email);
2021

2122
await page.mouse.move(0, 0);
@@ -36,7 +37,8 @@ test.describe("E2E", () => {
3637
});
3738

3839
test.describe("Actionable", () => {
39-
test.beforeAll(async ({ browser }) => {
40+
test.beforeAll(async ({ browser }, testInfo) => {
41+
testInfo.setTimeout(60000);
4042
page = await login(browser, users.Actionable.email);
4143

4244
await page.mouse.move(0, 0);

0 commit comments

Comments
 (0)