Skip to content

Commit

Permalink
fixup! Updating and cleaning up e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Hyndman committed Apr 3, 2024
1 parent 378afd7 commit ed5752b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/iframe3/index.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {test, expect} from '@playwright/test';

import {FUDGE} from '../../util/constants';
import {getEntries} from '../../util/entries';
import {getEntriesAndErrors} from '../../util/entries';

const PAGELOAD_DELAY = 200;

Expand All @@ -11,7 +11,7 @@ test.describe('TTVC', () => {
waitUntil: 'networkidle',
});

const entries = await getEntries(page);
const {entries} = await getEntriesAndErrors(page);

expect(entries.length).toBe(1);
expect(entries[0].duration).toBeGreaterThanOrEqual(PAGELOAD_DELAY);
Expand Down

0 comments on commit ed5752b

Please sign in to comment.