sling-web-component-button
Advanced tools
Comparing version 1.11.4 to 1.11.5
{ | ||
"name": "sling-web-component-button", | ||
"version": "1.11.4", | ||
"version": "1.11.5", | ||
"description": "Sling Button", | ||
@@ -10,5 +10,5 @@ "module": "src/index.js", | ||
"dependencies": { | ||
"sling-framework": "^1.11.4", | ||
"sling-helpers": "^1.11.4" | ||
"sling-framework": "^1.11.5", | ||
"sling-helpers": "^1.11.5" | ||
} | ||
} |
@@ -0,6 +1,8 @@ | ||
const component = 'sling-web-component-button'; | ||
const customCode = false; | ||
module.exports = { | ||
main: (browser) => { | ||
browser.url('http://localhost:8080/') | ||
.saveScreenshot('./reports/button-start.png') | ||
browser.url(`http://localhost:8777/${customCode ? 'regression' : ''}/index.html`) | ||
.saveScreenshot(`./reports/${component}/${component}-start.png`) | ||
.elements('css selector', 'sling-button', (buttons) => { | ||
@@ -11,3 +13,3 @@ buttons.value.forEach((button) => { | ||
}) | ||
.saveScreenshot('./reports/button-end.png') | ||
.saveScreenshot(`./reports/${component}/${component}-end.png`) | ||
.assert.containsText('#counter', '110') | ||
@@ -14,0 +16,0 @@ .end(); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
552831
13365
Updatedsling-framework@^1.11.5
Updatedsling-helpers@^1.11.5