Skip to content

Commit dbf2a16

Browse files
committed
removed unneeded util file
1 parent 37c7a47 commit dbf2a16

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

tests/util.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
11
import { expect } from '@playwright/test';
22
import { TIMEOUT } from './constants.js';
33

4-
export async function runSmokeTestOnPage(page) {
5-
/* Ensure each page follows the following dom structure */
6-
await expect(await page.getByTestId('content').count()).toBeTruthy();
7-
await expect(await page.getByTestId('header').count()).toBeTruthy();
8-
await expect(await page.getByTestId('sidebar').count()).toBeTruthy();
9-
await expect(await page.getByTestId('footer').count()).toBeTruthy();
10-
await expect(await page.getByTestId('not-found-container').count()).toBe(0);
11-
}
12-
134
// THE GDPR Consent button appears when test is run from EU locations. This handles that popup.
145
export async function handleConsentPopup(page) {
156
await page.addLocatorHandler(

0 commit comments

Comments
 (0)