@atomic-testing/component-driver-html
Advanced tools
Comparing version 0.43.0 to 0.45.0
@@ -22,4 +22,4 @@ "use strict"; | ||
value() { | ||
var _a; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
var _a; | ||
const val = (_a = (yield this.interactor.getAttribute(this.locator, 'value'))) !== null && _a !== void 0 ? _a : (yield this.label()); | ||
@@ -26,0 +26,0 @@ return (val === null || val === void 0 ? void 0 : val.trim()) || null; |
@@ -49,4 +49,4 @@ "use strict"; | ||
getValuesByLabels(labels) { | ||
var _a, e_1, _b, _c; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
var _a, e_1, _b, _c; | ||
const labelSet = new Set(labels); | ||
@@ -85,4 +85,4 @@ const values = []; | ||
getSelectedLabel(isMultiple) { | ||
var _a; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
var _a; | ||
if (yield this.exists()) { | ||
@@ -89,0 +89,0 @@ const labels = yield this.interactor.getSelectLabels(this.locator); |
{ | ||
"name": "@atomic-testing/component-driver-html", | ||
"version": "0.43.0", | ||
"version": "0.45.0", | ||
"description": "HTML component driver for atomic-testing", | ||
@@ -26,3 +26,3 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@atomic-testing/core": "0.43.0" | ||
"@atomic-testing/core": "0.45.0" | ||
}, | ||
@@ -38,5 +38,3 @@ "devDependencies": { | ||
"jest-environment-jsdom": "^29.7.0", | ||
"ts-jest": "^29.0.5", | ||
"ts-node": "^10.9.0", | ||
"typescript": "^5.3.3" | ||
"typescript": "^5.4.3" | ||
}, | ||
@@ -43,0 +41,0 @@ "peerDependencies": {}, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
9
52841
+ Added@atomic-testing/core@0.45.0(transitive)
- Removed@atomic-testing/core@0.43.0(transitive)
Updated@atomic-testing/core@0.45.0