Skip to content

Commit 2ae6781

Browse files
committed
fix: Extended timeout on the filter test
1 parent 9b3bcd5 commit 2ae6781

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

frontend/test/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ describe('Frontend', () => {
4646
page.coverage.stopCSSCoverage(),
4747
]);
4848
pti.write([...jsCoverage, ...cssCoverage])
49-
return await browser.close()
49+
await browser.close()
5050
})
5151

5252
it('loads the page successfully', async () => {
@@ -69,7 +69,7 @@ describe('Frontend', () => {
6969
assert.equal(id, 'filtersCheckbox1')
7070

7171
await page.click(`#${id}`)
72-
await page.waitFor(1000)
72+
await page.waitFor(1750)
7373
const newTableRows = await page.$$('table tr')
7474
// We expect the amount of logs in this filter to match the advertised amount in the filters component
7575
assert.equal(true, newTableRows.length - 1 === parseInt(amount.substring(1, amount.length - 1)))

0 commit comments

Comments
 (0)