diff --git a/README.md b/README.md index 9d5fda5..ae16b32 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ C#/.NET package for [Atata](https://github.com/atata-framework/atata) configurat *The package targets .NET Standard 2.0, which supports .NET 5+, .NET Framework 4.6.1+ and .NET Core/Standard 2.0+.* -**[What's new in v2.1.0](https://atata.io/blog/2022/07/20/atata.configuration.json-2.1.0-released/)** +**[What's new in v2.2.0](https://atata.io/blog/2022/11/17/atata.configuration.json-2.2.0-released/)** ## Table of Contents @@ -422,6 +422,8 @@ with help of `{env:VarName}` template insertions. "logNUnitError": true, "takeScreenshotOnNUnitError": true, "takeScreenshotOnNUnitErrorTitle": "string", + "takePageSnapshotOnNUnitError": true, + "takePageSnapshotOnNUnitErrorTitle": "string", "onCleanUpAddArtifactsToNUnitTestContext": true, "onCleanUpAddDirectoryFilesToNUnitTestContext": "string", "useNUnitAggregateAssertionStrategy": true, // Indicates to use NUnitAggregateAssertionStrategy as the aggregate assertion strategy. @@ -449,6 +451,14 @@ with help of `{env:VarName}` template insertions. } ], + "pageSnapshots": { // Configures page snapshots functionality. + "fileNameTemplate": "string", + "strategy": { + "type": "cdpOrPageSource", // Supports: "cdpOrPageSource", "pageSource", "cdp", and name of custom type implementing "Atata.IPageSnapshotTakeStrategy". + "{{strategyValueName}}": "value" // Any property or constructor parameter of strategy. + } + }, + "eventSubscriptions": [ { "eventType": "event type", // Optional. diff --git a/src/Atata.Configuration.Json/Atata.Configuration.Json.csproj b/src/Atata.Configuration.Json/Atata.Configuration.Json.csproj index f32f441..94b8cd9 100644 --- a/src/Atata.Configuration.Json/Atata.Configuration.Json.csproj +++ b/src/Atata.Configuration.Json/Atata.Configuration.Json.csproj @@ -2,7 +2,7 @@ netstandard2.0 - 2.1.0 + 2.2.0 C#/.NET package for Atata configuration through JSON files. The package targets .NET Standard 2.0, which supports .NET 5+, .NET Framework 4.6.1+ and .NET Core/Standard 2.0+. @@ -19,7 +19,7 @@ Features: https://github.com/atata-framework/atata-configuration-json Atata.Configuration.Json atata automation testing test selenium webdriver browser configuration - https://atata.io/blog/2022/07/20/atata.configuration.json-2.1.0-released/ + https://atata.io/blog/2022/11/17/atata.configuration.json-2.2.0-released/ https://github.com/atata-framework/atata-configuration-json