@atomic-testing/component-driver-html
Advanced tools
Comparing version 0.28.0 to 0.29.0
@@ -83,3 +83,3 @@ "use strict"; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
const labels = Array.isArray(label) ? label : [label]; | ||
const labels = core_1.collectionUtil.toArray(label); | ||
const values = yield this.getValuesByLabels(labels); | ||
@@ -86,0 +86,0 @@ yield this.setValue(values); |
{ | ||
"name": "@atomic-testing/component-driver-html", | ||
"version": "0.28.0", | ||
"version": "0.29.0", | ||
"description": "HTML component driver for atomic-testing", | ||
@@ -25,3 +25,3 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@atomic-testing/core": "0.28.0" | ||
"@atomic-testing/core": "0.29.0" | ||
}, | ||
@@ -28,0 +28,0 @@ "devDependencies": { |
@@ -1,2 +0,10 @@ | ||
import { byTagName, ComponentDriver, IInputDriver, listHelper, locatorUtil, Nullable } from '@atomic-testing/core'; | ||
import { | ||
byTagName, | ||
collectionUtil, | ||
ComponentDriver, | ||
IInputDriver, | ||
listHelper, | ||
locatorUtil, | ||
Nullable, | ||
} from '@atomic-testing/core'; | ||
@@ -45,3 +53,3 @@ import { HTMLOptionDriver } from './HTMLOptionDriver'; | ||
async selectByLabel(label: string | readonly string[]): Promise<void> { | ||
const labels = Array.isArray(label) ? label : [label]; | ||
const labels = collectionUtil.toArray(label); | ||
const values = await this.getValuesByLabels(labels); | ||
@@ -48,0 +56,0 @@ await this.setValue(values); |
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
845
51661
+ Added@atomic-testing/core@0.29.0(transitive)
- Removed@atomic-testing/core@0.28.0(transitive)
Updated@atomic-testing/core@0.29.0