npm @alex_neo/playwright-azure-reporter 1.19.0
Release v1.19.0

latest releases: 1.20.0, 1.19.2-pr144.143-feature-add-publishretryresults-and-markflakytests-options.c20432b, 1.19.2-pr144.143-feature-add-publishretryresults-and-markflakytests-options.f074c1d...
3 months ago

🎉 Release 1.19.0

Features

  • automark: add callback support for storage path and test type (48d0e98), closes #138

BREAKING CHANGES

  • automark: Renamed automatedTestStorageFullPath to automatedTestStoragePath with enhanced functionality
  • Replace boolean automatedTestStorageFullPath with flexible automatedTestStoragePath
    • Supports boolean (false: basename, true: full path) for backward compatibility
    • Supports callback function (testCase: TestCase) => string for custom path logic
    • Enables relative paths to avoid exposing sensitive info (usernames) in CI/CD
  • Add new automatedTestType callback option
    • Sets Microsoft.VSTS.TCM.AutomatedTestType field in Azure DevOps
    • Callback signature: (testCase: TestCase) => string
    • Field not set if callback returns empty/falsy value
  • Update _getAutomatedTestStorage to handle both boolean and function types
  • Add 4 comprehensive test cases covering callback scenarios
  • Update README and examples with advanced callback usage patterns
  • Maintain full backward compatibility with boolean values

Installation:

npm install @alex_neo/playwright-azure-reporter@latest

Don't miss a new playwright-azure-reporter release

NewReleases is sending notifications on new releases.