@viewstools/e2e
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -7,3 +7,3 @@ const key = process.env.VIEWS_E2E_TEST_ID || "data-test-id"; | ||
scopes.forEach(scope => { | ||
el[scope] = () => browser.element(`[${key}="${id}|${scope}"]`); | ||
el[scope] = () => browser.element(`[${key}="${id}|"][${key}="${scope}|"]`); | ||
}); | ||
@@ -10,0 +10,0 @@ |
@@ -11,3 +11,3 @@ var key = process.env.VIEWS_E2E_TEST_ID || "data-test-id"; | ||
scopes.forEach(function (scope) { | ||
el[scope] = function () { return browser.element(("[" + key + "=\"" + id + "|" + scope + "\"]")); }; | ||
el[scope] = function () { return browser.element(("[" + key + "=\"" + id + "|\"][" + key + "=\"" + scope + "|\"]")); }; | ||
}); | ||
@@ -14,0 +14,0 @@ |
{ | ||
"name": "@viewstools/e2e", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Views Tools E2E helpers", | ||
@@ -5,0 +5,0 @@ "main": "lib.js", |
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
4367