Files
novarix.uk/node_modules/next/dist/experimental/testmode/playwright/step.d.ts
T
Kismet Hasanaj 39a8a128be including-modules
2026-05-03 00:14:08 +02:00

13 lines
433 B
TypeScript

import type { TestInfo } from '@playwright/test';
export interface StepProps {
category: string;
title: string;
apiName?: string;
params?: Record<string, string | number | boolean | null | undefined>;
}
type Complete = (result: {
error?: any;
}) => void;
export declare function step<T>(_testInfo: TestInfo, props: StepProps, handler: (complete: Complete) => Promise<Awaited<T>>): Promise<Awaited<T>>;
export {};