Atata.Configuration.Json 2.3.0 is Released

June 24, 2023 by Yevgeniy Shunevych


Atata.Configuration.Json 2.3.0 is released with support of latest Atata 2.8.1 configuration properties.

Changelog

New features

  • major #96 Add support of full-page screenshot configuration
  • major #97 Add support of DomTestIdAttributeName and DomTestIdAttributeDefaultCase configuration properties

Changes and enhancements

  • major #95 Use Atata package v2.8.1

Full-page screenshot configuration

{
  "takeScreenshotOnNUnitErrorKind": "default", // Supports: "default", "viewport" and "fullPage".

  "screenshots": { // Configures screenshots functionality.
    "strategy": {
      "type": "webDriverViewport", // Supports: "webDriverViewport", "webDriverFullPage", "cdpFullPage", "fullPageOrViewport",
                                   // and name of custom type implementing "Atata.IScreenshotTakeStrategy".
      "{strategyValueName}": "value" // Any property or constructor parameter of strategy.
    }
  }
}

DOM TestId attribute configuration

{
  "domTestIdAttributeName": "data-testid",
  "domTestIdAttributeDefaultCase": "kebab"
}