Skip to content

Commit

Permalink
increase timing
Browse files Browse the repository at this point in the history
  • Loading branch information
john681611 committed Sep 19, 2023
1 parent e5a3c59 commit 595c080
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/frontend/src/test/basic-e2etest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ describe('App.js', () => {

it('can filter', async () => {
await page.goto('http://127.0.0.1:5000/cre/558-807?applyFilters=true&filters=asvs');
await page.waitForSelector('.cre-page__links-container', { timeout: 2000 });
await page.waitForSelector('.cre-page__links-container', { timeout: 200000 });
// Get inner text
const innerText = await page.evaluate(
() => (document.querySelector('.cre-page__links-container') as HTMLElement)?.innerText
Expand All @@ -145,7 +145,7 @@ describe('App.js', () => {

// ensure case insensitive filtering
await page.goto('http://127.0.0.1:5000/cre/558-807?applyFilters=true&filters=ASVS');
await page.waitForSelector('.cre-page__links-container', { timeout: 2000 });
await page.waitForSelector('.cre-page__links-container', { timeout: 200000 });
const intxt = await page.evaluate(
() => (document.querySelector('.cre-page__links-container') as HTMLElement)?.innerText
);
Expand Down

0 comments on commit 595c080

Please sign in to comment.