@testplane/storybook
Version:
Testplane plugin that enables runtime screenshot storybook tests autogeneration
15 lines (14 loc) • 538 B
TypeScript
export interface PluginConfig {
enabled: boolean;
storybookConfigDir: string;
autoScreenshots: boolean;
autoscreenshotSelector: string;
autoScreenshotStorybookGlobals: Record<string, Record<string, unknown>>;
localport: number;
remoteStorybookUrl: string;
waitStorybookJsonTimeout: number;
browserIds: Array<string | RegExp>;
unsafeAllowOtherTests: boolean;
}
export type PluginPartialConfig = Partial<PluginConfig>;
export declare function parseConfig(options: PluginPartialConfig): PluginConfig;