🎉 Release 1.19.0
Features
BREAKING CHANGES
- automark: Renamed
automatedTestStorageFullPathtoautomatedTestStoragePathwith enhanced functionality
- Replace boolean
automatedTestStorageFullPathwith flexibleautomatedTestStoragePath- Supports boolean (false: basename, true: full path) for backward compatibility
- Supports callback function
(testCase: TestCase) => stringfor custom path logic - Enables relative paths to avoid exposing sensitive info (usernames) in CI/CD
- Add new
automatedTestTypecallback option- Sets
Microsoft.VSTS.TCM.AutomatedTestTypefield in Azure DevOps - Callback signature:
(testCase: TestCase) => string - Field not set if callback returns empty/falsy value
- Sets
- 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