Skip to content

Commit 7c7a8b3

Browse files
committed
Remove unnecessary timeout change
1 parent f5de798 commit 7c7a8b3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

trackers/javascript-tracker/test/functional/cookies.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ describe('Tracker created domain cookies', () => {
22
it('contain the expected cookie names', async () => {
33
await browser.url('/cookies.html');
44
await browser.waitUntil(async () => (await $('#init').getText()) === 'true', {
5-
timeout: 10000,
5+
timeout: 5000,
66
timeoutMsg: 'expected init after 5s',
7-
interval: 5000,
7+
interval: 250,
88
});
99

1010
await browser.waitUntil(async () => (await $('#cookies').getText()) !== '', {
11-
timeout: 10000,
11+
timeout: 5000,
1212
timeoutMsg: 'expected cookie to be set after 5s',
13-
interval: 5000,
13+
interval: 250,
1414
});
1515

1616
const cookies = await $('#cookies').getText();

0 commit comments

Comments
 (0)