Jack Maclennan Portfolio
    Preparing search index...

    Variable navBarTestConst

    navBarTest: TestType<
        PlaywrightTestArgs & PlaywrightTestOptions & { navBar: NavBar },
        PlaywrightWorkerArgs & PlaywrightWorkerOptions,
    > = ...

    Test environment for Navigation Bar.

    
    

    Provides a NavBar to be used in tests.

    export const navBarTest = test.extend<{ navBar: NavBar }>({
    navBar: async ({ page }, use) => {
    const navBar = new NavBar(page);
    // eslint-disable-next-line react-hooks/rules-of-hooks
    await use(navBar);
    }
    });