|
26 | 26 | # |
27 | 27 | ######### |
28 | 28 | # |
| 29 | +# URL blocking |
| 30 | +# |
| 31 | +######### |
| 32 | +# |
| 33 | +# To ensure the automation process is not taking a wrong turn (e.g. thought misconfigured links), |
| 34 | +# we provide a way to break a test, if a blocked URL or an URL which does not match a configured |
| 35 | +# include list is called. |
| 36 | +# This is only targeting the main page URL, background calls are not covered. |
| 37 | +# NOTE: The URLs needs to be provided as Regular Expressions, so be aware of special regex relevant characters! |
| 38 | +# |
| 39 | +# List of excluded URLS seperated by whitespaces |
| 40 | +# neodymium.url.excludeList = ^http://prod.example.com/[?]testmode=true ^https://stg.example.com |
| 41 | +# |
| 42 | +# List of included URLS seperated by whitespaces |
| 43 | +# neodymium.url.includeList = ^http://dev.example.com ^https://stg.example.com |
| 44 | +# |
| 45 | +######### |
| 46 | +# |
29 | 47 | # Localization |
30 | 48 | # |
31 | 49 | ######### |
|
140 | 158 | # Whether or not a screenshot should be taken per step |
141 | 159 | # neodymium.allureAddons.screenshots.perstep.always = false |
142 | 160 | # |
| 161 | +############################# |
| 162 | +# |
| 163 | +# Advanced screenshot properties |
| 164 | +# |
| 165 | +############################# |
| 166 | + |
| 167 | +# Enables advanced screenshot capabilities with additional features |
| 168 | +# When set to true, provides more sophisticated screenshot taking mechanisms |
| 169 | +neodymium.screenshots.enableAdvancedScreenshots = true |
| 170 | + |
| 171 | +# Controls whether screenshots are taken for successful test scenarios |
| 172 | +# When set to false, screenshots will not be captured for passing tests |
| 173 | +neodymium.screenshots.enableOnSuccess = false |
| 174 | + |
| 175 | +# Enables full-page screenshot capture, capturing entire page content beyond visible viewport |
| 176 | +# Useful for long web pages or scrollable content |
| 177 | +neodymium.screenshots.fullpagecapture.enable = true |
| 178 | + |
| 179 | +# Determines if the current viewport should be visually highlighted during full-page capture |
| 180 | +# When false, no visual indication of current viewport is added |
| 181 | +neodymium.screenshots.fullpagecapture.highlightViewport = false |
| 182 | + |
| 183 | +# Controls the directory structure for storing screenshots |
| 184 | +# When false, uses a flat directory structure instead of a nested tree-like structure |
| 185 | +neodymium.screenshots.enableTreeDirectoryStructure = false |
| 186 | + |
| 187 | +# Sets the highlight color for the viewport during full-page capture |
| 188 | +# Uses hexadecimal color code, in this case bright red |
| 189 | +neodymium.screenshots.fullpagecapture.highlightColor= #FF0000 |
| 190 | + |
| 191 | +# Enables highlighting of the last interacted or focused element in the screenshot |
| 192 | +# Helps identify the final state or location of interaction |
| 193 | +neodymium.screenshots.highlightLastElement = true |
| 194 | + |
| 195 | +# Sets the highlight color for the last element |
| 196 | +# Uses hexadecimal color code |
| 197 | +neodymium.screenshots.element.highlightColor = #FF00FF |
| 198 | + |
| 199 | +# Defines the thickness of highlight lines when elements are marked |
| 200 | +# Higher values create thicker, more prominent highlight borders |
| 201 | +neodymium.screenshots.highlightLineThickness = 4 |
| 202 | + |
| 203 | + |
143 | 204 | ############################# |
144 | 205 | # |
145 | 206 | # DataUtils properties |
@@ -226,6 +287,49 @@ neodymium.webDriver.keepBrowserOpenOnFailure = false |
226 | 287 | # If false: all tests of a test class are executed |
227 | 288 | neodymium.workInProgress = false |
228 | 289 |
|
| 290 | +# If true: the test data json of the corresponding test gets attached to the allure report |
| 291 | +# If false: the test data json of the corresponding test does not get attached to the allure report |
| 292 | +neodymium.report.enableTestDataInReport = true |
| 293 | + |
| 294 | +############################# |
| 295 | +# |
| 296 | +# Lighthouse |
| 297 | +# |
| 298 | +############################# |
| 299 | + |
| 300 | +# Specifies the path to the Lighthouse executable |
| 301 | +# If Lighthouse is globally installed and available in PATH, use only the name of the Lighthouse binary |
| 302 | +# If Lighthouse is not globally installed and available in PATH, use the absolute/relative path to the Lighthouse binary |
| 303 | +neodymium.lighthouse.binaryPath = lighthouse |
| 304 | + |
| 305 | +# Specifies the minimum acceptable score for the performance category in Lighthouse reports |
| 306 | +# If the Lighthouse performance score falls below this threshold, the test will fail |
| 307 | +# Range: 0.0 - 1.0 (representing 0% to 100%) |
| 308 | +# The actual value for the performance score varies alot, so consider using a lower threshold to avoid a lot of false alerts |
| 309 | +neodymium.lighthouse.assert.thresholdScore.performance = 0.5 |
| 310 | + |
| 311 | +# Specifies the minimum acceptable score for the accessibility category in Lighthouse reports |
| 312 | +# If the Lighthouse accessibility score falls below this threshold, the test will fail |
| 313 | +# Range: 0.0 - 1.0 (representing 0% to 100%) |
| 314 | +# The actual value for the accessibility score varies alot, so consider using a lower threshold to avoid a lot of false alerts |
| 315 | +neodymium.lighthouse.assert.thresholdScore.accessibility = 0.5 |
| 316 | + |
| 317 | +# Specifies the minimum acceptable score for the best practices category in Lighthouse reports |
| 318 | +# If the Lighthouse best practices score falls below this threshold, the test will fail |
| 319 | +# Range: 0.0 - 1.0 (representing 0% to 100%) |
| 320 | +# The actual value for the best practices score varies alot, so consider using a lower threshold to avoid a lot of false alerts |
| 321 | +neodymium.lighthouse.assert.thresholdScore.bestPractices = 0.5 |
| 322 | + |
| 323 | +# Specifies the minimum acceptable score for the seo category in Lighthouse reports |
| 324 | +# If the Lighthouse seo score falls below this threshold, the test will fail |
| 325 | +# Range: 0.0 - 1.0 (representing 0% to 100%) |
| 326 | +# The actual value for the seo score varies alot, so consider using a lower threshold to avoid a lot of false alerts |
| 327 | +neodymium.lighthouse.assert.thresholdScore.seo = 0.5 |
| 328 | + |
| 329 | +# To be able to validate Lighthouse report audits, we use internal json id's from the report itself |
| 330 | +# A full list of all audit id's and their corresponding titles can be found here: https://github.com/Xceptance/neodymium/wiki/Reports#lighthouse-audit-validation |
| 331 | +#neodymium.lighthouse.assert.audits = |
| 332 | + |
229 | 333 | ############################# |
230 | 334 | # |
231 | 335 | # Proxy configuration properties |
@@ -284,3 +388,32 @@ neodymium.workInProgress = false |
284 | 388 |
|
285 | 389 | # The password of the root certificate for the MITM proxy |
286 | 390 | # neodymium.localproxy.certificate.password = MITMCertificatePassword |
| 391 | + |
| 392 | + |
| 393 | +############################# |
| 394 | +# |
| 395 | +# Allure Report properties |
| 396 | +# |
| 397 | +############################# |
| 398 | + |
| 399 | +# Enable the saving of links of called pages in the report |
| 400 | +# neodymium.report.enableStepLinks = |
| 401 | + |
| 402 | +neodymium.report.showSelenideErrorDetails = false |
| 403 | + |
| 404 | + |
| 405 | +############################# |
| 406 | +# |
| 407 | +# Popup Blocker settings |
| 408 | +# |
| 409 | +############################# |
| 410 | +# We introduced a simple popup blocker to get rid of test affecting popups on a webpage. |
| 411 | +# To use it just configure add a CSS selector which targets the close button of the popup |
| 412 | +# in the format neodymium.popup.<popupName> = <css selector>. |
| 413 | +# For example neodymium.popup.newsletter = #newsletterbox > button.close |
| 414 | +# |
| 415 | +#neodymium.popup.popupname = |
| 416 | +# |
| 417 | +# The delay between two checks for a popup in milliseconds |
| 418 | +#neodymium.popupInterval = 1000 |
| 419 | + |
0 commit comments