- useFixtures<T, W>(customFixtures: Fixtures<T, W, PlaywrightTestArgs & PlaywrightTestOptions & Omit<SerenityOptions, actors> & SerenityFixtures, PlaywrightWorkerArgs & PlaywrightWorkerOptions & object>): TestApi<PlaywrightTestArgs & PlaywrightTestOptions & Omit<SerenityOptions, actors> & SerenityFixtures & T, PlaywrightWorkerArgs & PlaywrightWorkerOptions & object & W>
Type parameters
- T: Record<string, any>
- W: Record<string, any> = object
Parameters
externalcustomFixtures: Fixtures<T, W, PlaywrightTestArgs & PlaywrightTestOptions & Omit<SerenityOptions, actors> & SerenityFixtures, PlaywrightWorkerArgs & PlaywrightWorkerOptions & object>
Returns TestApi<PlaywrightTestArgs & PlaywrightTestOptions & Omit<SerenityOptions, actors> & SerenityFixtures & T, PlaywrightWorkerArgs & PlaywrightWorkerOptions & object & W>