Praman — AI-First SAP UI5 Test Automation Platform - v1.0.1
    Preparing search index...

    Class ComplianceReporter

    Playwright reporter that writes a per-test compliance summary to disk.

    // Instantiate directly (Playwright does this via config)
    const reporter = new ComplianceReporter({ outputDir: 'reports' });

    Implements

    • Reporter
    Index

    Constructors

    Methods

    • Called when the test run begins. No-op for this reporter.

      Parameters

      • _config: FullConfig
      • _suite: Suite

      Returns void

    • Called after all tests have finished. Writes the compliance report JSON.

      Parameters

      • _result: FullResult

      Returns Promise<void>

    • Called after each individual test finishes.

      Parameters

      • test: TestCase

        The finished test case.

      • result: TestResult

        The test result containing step data.

      Returns void

      Iterates over result.steps and classifies each step as either a Praman step or a raw Playwright step based on its title.

    • Indicates whether this reporter prints to stdout/stderr.

      Returns boolean

      false — this reporter writes only to a JSON file.