Skip to content

Commit 14ef756

Browse files
Increase project version to 2.3.0
1 parent 07d6607 commit 14ef756

File tree

2 files changed

+19
-6
lines changed

2 files changed

+19
-6
lines changed

README.md

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ C#/.NET package for [Atata](https://github.com/atata-framework/atata) configurat
1212

1313
*The package targets .NET Standard 2.0, which supports .NET 5+, .NET Framework 4.6.1+ and .NET Core/Standard 2.0+.*
1414

15-
**[What's new in v2.2.0](https://atata.io/blog/2022/11/17/atata.configuration.json-2.2.0-released/)**
15+
**[What's new in v2.3.0](https://atata.io/blog/2023/06/24/atata.configuration.json-2.3.0-released/)**
1616

1717
## Table of Contents
1818

@@ -388,7 +388,7 @@ with help of `{env:VarName}` template insertions.
388388
"timeZone": "string", // For example: "UTC".
389389
"artifactsPath": "string",
390390

391-
"defaultControlVisibility": "string", // Supports: "Any" (default), "Visible" and "Invisible".
391+
"defaultControlVisibility": "string", // Supports: "any" (default), "visible" and "invisible".
392392

393393
"baseRetryTimeout": 5, // Sets the base retry timeout in seconds.
394394
"baseRetryInterval": 0.5, // Sets the base retry interval in seconds.
@@ -408,6 +408,9 @@ with help of `{env:VarName}` template insertions.
408408
"aggregateAssertionStrategyType": "string", // Sets the type name of the aggregate assertion strategy. The type should implement IAggregateAssertionStrategy.
409409
"warningReportStrategyType": "string", // Sets the type name of the strategy for warning assertion reporting. The type should implement IWarningReportStrategy.
410410

411+
"domTestIdAttributeName": "data-testid",
412+
"domTestIdAttributeDefaultCase": "kebab",
413+
411414
"defaultAssemblyNamePatternToFindTypes": "regex_string",
412415
"assemblyNamePatternToFindComponentTypes": "regex_string",
413416
"assemblyNamePatternToFindAttributeTypes": "regex_string",
@@ -422,6 +425,7 @@ with help of `{env:VarName}` template insertions.
422425
"logNUnitError": true,
423426
"takeScreenshotOnNUnitError": true,
424427
"takeScreenshotOnNUnitErrorTitle": "string",
428+
"takeScreenshotOnNUnitErrorKind": "default", // Supports: "default", "viewport" and "fullPage".
425429
"takePageSnapshotOnNUnitError": true,
426430
"takePageSnapshotOnNUnitErrorTitle": "string",
427431
"onCleanUpAddArtifactsToNUnitTestContext": true,
@@ -434,7 +438,7 @@ with help of `{env:VarName}` template insertions.
434438
"type": "nunit", // Supports: "debug", "trace", "console", "nunit", "nlog", "nlog-file", "log4net"
435439
// and custom consumers registered via LogConsumerAliases.Register method.
436440
// Custom ILogConsumer type can also be passed as a full type name, e.g.: "Namespace.Class, MyAssembly".
437-
"minLevel": "Info", // Supports: Trace, Debug, Info, Warn, Error, Fatal.
441+
"minLevel": "Info", // Supports: "trace", "debug", "info", "warn", "error", "fatal".
438442
"sectionFinish": true,
439443
"messageNestingLevelIndent": "- ",
440444
"messageStartSectionPrefix": "> ",
@@ -451,10 +455,19 @@ with help of `{env:VarName}` template insertions.
451455
}
452456
],
453457

458+
"screenshots": { // Configures screenshots functionality.
459+
"strategy": {
460+
"type": "webDriverViewport", // Supports: "webDriverViewport", "webDriverFullPage", "cdpFullPage", "fullPageOrViewport",
461+
// and name of custom type implementing "Atata.IScreenshotTakeStrategy".
462+
"{{strategyValueName}}": "value" // Any property or constructor parameter of strategy.
463+
}
464+
},
465+
454466
"pageSnapshots": { // Configures page snapshots functionality.
455467
"fileNameTemplate": "string",
456468
"strategy": {
457-
"type": "cdpOrPageSource", // Supports: "cdpOrPageSource", "pageSource", "cdp", and name of custom type implementing "Atata.IPageSnapshotTakeStrategy".
469+
"type": "cdpOrPageSource", // Supports: "cdpOrPageSource", "pageSource", "cdp",
470+
// and name of custom type implementing "Atata.IPageSnapshotTakeStrategy".
458471
"{{strategyValueName}}": "value" // Any property or constructor parameter of strategy.
459472
}
460473
},

src/Atata.Configuration.Json/Atata.Configuration.Json.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<TargetFrameworks>netstandard2.0</TargetFrameworks>
55
<LangVersion>10.0</LangVersion>
66
<ImplicitUsings>enable</ImplicitUsings>
7-
<Version>2.2.0</Version>
7+
<Version>2.3.0</Version>
88
<Description>C#/.NET package for Atata configuration through JSON files.
99

1010
The package targets .NET Standard 2.0, which supports .NET 5+, .NET Framework 4.6.1+ and .NET Core/Standard 2.0+.
@@ -21,7 +21,7 @@ Features:
2121
<RepositoryUrl>https://github.com/atata-framework/atata-configuration-json</RepositoryUrl>
2222
<PackageId>Atata.Configuration.Json</PackageId>
2323
<PackageTags>atata automation testing test selenium webdriver browser configuration</PackageTags>
24-
<PackageReleaseNotes>https://atata.io/blog/2022/11/17/atata.configuration.json-2.2.0-released/</PackageReleaseNotes>
24+
<PackageReleaseNotes>https://atata.io/blog/2023/06/24/atata.configuration.json-2.3.0-released/</PackageReleaseNotes>
2525
<PackageProjectUrl>https://github.com/atata-framework/atata-configuration-json</PackageProjectUrl>
2626
</PropertyGroup>
2727

0 commit comments

Comments
 (0)