Jack Maclennan Portfolio
    Preparing search index...

    Variable homeTestConst

    homeTest: TestType<
        PlaywrightTestArgs & PlaywrightTestOptions & { forEachTest: void },
        PlaywrightWorkerArgs & PlaywrightWorkerOptions,
    > = ...

    Test environment for Home page.

    
    

    Sets up testing environment for Home page tests by navigating to the page before each test.

    export const homeTest = test.extend<{ forEachTest: void }>({
    forEachTest: [
    async ({ page }, use) => {
    await page.goto('http://localhost:3000');
    await page.waitForURL('http://localhost:3000');
    await use();
    },
    { auto: true }
    ]
    });