UNPKG

@testomatio/reporter

Version:
21 lines (20 loc) 650 B
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 and normalizes tags from test title, test options, and suite level * @param {*} test - testInfo object from Playwright * @returns {string[]} - array of normalized tags */ export function extractTags(test: any): string[]; import TestomatioClient from '../client.js';