Skip to content

v0.1.5 — New Features Added

Choose a tag to compare

@naveenanimation20 naveenanimation20 released this 27 Sep 02:58
· 42 commits to main since this release

0.1.5

Fixed

  • Rl.attach() / Rl.log() called from @AfterMethod / @AfterEach now land on the test that just finished. Previously the framework listener cleared the current test before the after-hook ran, so teardown screenshots were silently dropped.

Added

  • Rl.shouldCaptureScreenshot() / shouldCaptureTrace() / shouldCaptureVideo() — no-arg helpers that read the capture policy and the outcome of the current-or-just-finished test. A Selenium BaseTest needs neither ITestResult nor a TestWatcher.
  • reporting-labs.screenshot / .trace / .video capture policy: never | on-failure | always | only-on-pass. RlPlaywright honours it automatically (skips trace recording entirely on never).
  • Auto-detected worker count from real thread activity.
  • Auto-detected build / branch / commit / ci chips on GitHub Actions, Jenkins, GitLab CI, CircleCI, Travis, Buildkite, TeamCity and Azure Pipelines. Explicit metadata.* still wins.
  • Default output folder follows the build tool: target/reporting-labs (Maven), build/reporting-labs (Gradle).
  • reporting-labs.open=never|on-failure|always — opens the report in the browser after the run; skipped in CI/headless.
  • TestNG @DataProvider parameters captured automatically as a Parameters block, one row per invocation.

Changed

  • Success message ([reporting-labs] wrote ...) now goes to stdout, not stderr.
  • card added to the default sensitive-key mask list.

Docs: https://reportinglabs.dev/get-started/java