effect-playwright
    Preparing search index...

    Type Alias Fixtures<T, W, PT, PW>

    Fixtures: {
        [K in keyof PW]?:
            | WorkerFixtureValue<PW[K], W & PW>
            | [
                WorkerFixtureValue<PW[K], W & PW>,
                {
                    box?: boolean | "self";
                    scope: "worker";
                    timeout?: number;
                    title?: string;
                },
            ]
    } & {
        [K in keyof PT]?: | TestFixtureValue<PT[K], T & W & PT & PW>
        | [
            TestFixtureValue<PT[K], T & W & PT & PW>,
            {
                box?: boolean | "self";
                scope: "test";
                timeout?: number;
                title?: string;
            },
        ]
    } & {
        [K in Exclude<keyof W, keyof PW | keyof PT>]?: [
            WorkerFixtureValue<W[K], W & PW>,
            {
                auto?: boolean;
                box?: boolean | "self";
                option?: boolean;
                scope: "worker";
                timeout?: number;
                title?: string;
            },
        ]
    } & {
        [K in Exclude<keyof T, keyof PW | keyof PT>]?:
            | TestFixtureValue<T[K], T & W & PT & PW>
            | [
                TestFixtureValue<T[K], T & W & PT & PW>,
                {
                    auto?: boolean;
                    box?: boolean | "self";
                    option?: boolean;
                    scope?: "test";
                    timeout?: number;
                    title?: string;
                },
            ]
    }

    Type Parameters

    • T extends {} = {}
    • W extends {} = {}
    • PT extends {} = {}
    • PW extends {} = {}