playwright-testing-library
Version:
playwright + dom-testing-library
28 lines (27 loc) • 955 B
TypeScript
import type { PlaywrightTestArgs, TestFixture } from '@playwright/test';
import type { Config, LocatorQueries as Queries, Screen, Within } from '../types';
declare type TestArguments = PlaywrightTestArgs & Config;
declare const options: {
[k: string]: readonly [any, {
readonly option: true;
}];
};
declare const queriesFixture: TestFixture<Queries, TestArguments>;
declare const screenFixture: TestFixture<Screen, TestArguments>;
declare const withinFixture: TestFixture<Within, TestArguments>;
declare const registerSelectorsFixture: [
TestFixture<void, PlaywrightTestArgs>,
{
scope: 'worker';
auto?: boolean;
}
];
declare const installTestingLibraryFixture: [
TestFixture<void, TestArguments>,
{
scope: 'test';
auto?: boolean;
}
];
export { installTestingLibraryFixture, options, queriesFixture, registerSelectorsFixture, screenFixture, withinFixture, };
export type { Queries };