@winning-test/component 0.0.62 → 0.0.64

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,7 +15,7 @@ class SwitchComponent extends require("./Component") {
15
15
  }
16
16
 
17
17
  _createXpath() {
18
- return `//*[normalize-space(text())='${this.label}']//input[@type='checkbox']`;
18
+ return `//*[normalize-space(text())='${this.label}']//following-sibling::div//input[@type='checkbox']`;
19
19
  }
20
20
 
21
21
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@winning-test/component",
3
- "version": "0.0.62",
3
+ "version": "0.0.64",
4
4
  "description": "",
5
5
  "main": "",
6
6
  "scripts": {
@@ -48,7 +48,6 @@ class Component extends require("@winning-test/autotest-webui/src/Component") {
48
48
  return await super.getValue();
49
49
  }
50
50
 
51
-
52
51
  async getAttribute(attributeName) {
53
52
  await this.browser.sleep(Component.delayTime);
54
53
  return await super.getAttribute(attributeName);