@testomatio/reporter
Version:
Testomatio Reporter Client
24 lines (23 loc) • 788 B
TypeScript
export default PlaywrightReporter;
declare class PlaywrightReporter {
constructor(config?: {});
client: TestomatioClient;
uploads: any[];
onBegin(config: any, suite: any): void;
suite: any;
config: any;
onTestBegin(testInfo: any): void;
onTestEnd(test: any, result: any): void;
onEnd(result: any): Promise<void>;
#private;
}
/**
* Extracts tags from test title, test options, and suite level
* Identifies duplicate tags (case-insensitive)
* @param {*} test - testInfo object from Playwright
* @returns {string[]} - array of normalized tags with @ prefix
*/
export function extractTags(test: any): string[];
import { fetchLinksFromLogs } from './utils/playwright.js';
import TestomatioClient from '../client.js';
export { fetchLinksFromLogs };