@redhat-developer/locators 1.8.0 → 1.10.0

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.
package/out/index.js CHANGED
@@ -31,13 +31,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
31
31
  }) : function(o, v) {
32
32
  o["default"] = v;
33
33
  });
34
- var __importStar = (this && this.__importStar) || function (mod) {
35
- if (mod && mod.__esModule) return mod;
36
- var result = {};
37
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
38
- __setModuleDefault(result, mod);
39
- return result;
40
- };
34
+ var __importStar = (this && this.__importStar) || (function () {
35
+ var ownKeys = function(o) {
36
+ ownKeys = Object.getOwnPropertyNames || function (o) {
37
+ var ar = [];
38
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
39
+ return ar;
40
+ };
41
+ return ownKeys(o);
42
+ };
43
+ return function (mod) {
44
+ if (mod && mod.__esModule) return mod;
45
+ var result = {};
46
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
47
+ __setModuleDefault(result, mod);
48
+ return result;
49
+ };
50
+ })();
41
51
  Object.defineProperty(exports, "__esModule", { value: true });
42
52
  exports.getLocatorsPath = getLocatorsPath;
43
53
  const path = __importStar(require("path"));
package/out/lib/1.37.0.js CHANGED
@@ -296,6 +296,7 @@ const sideBar = {
296
296
  titleText: 'textContent',
297
297
  header: selenium_webdriver_1.By.className('panel-header'),
298
298
  headerExpanded: 'aria-expanded',
299
+ headerCollapseExpandButton: selenium_webdriver_1.By.className('twisty-container'),
299
300
  actions: selenium_webdriver_1.By.className('actions'),
300
301
  actionConstructor: (label) => selenium_webdriver_1.By.xpath(`.//a[contains(@class, 'action-label') and @role='button' and @title='${label}']`),
301
302
  button: selenium_webdriver_1.By.xpath(`.//a[@role='button']`),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redhat-developer/locators",
3
- "version": "1.8.0",
3
+ "version": "1.10.0",
4
4
  "description": "Pluggable Page Objects locators for an ExTester framework.",
5
5
  "main": "out/index.js",
6
6
  "types": "out/index.d.ts",
@@ -40,5 +40,5 @@
40
40
  "@redhat-developer/page-objects": ">=1.0.0",
41
41
  "selenium-webdriver": ">=4.6.1"
42
42
  },
43
- "gitHead": "6e684d06e92ee59f19e28f96158f8798045114c3"
43
+ "gitHead": "eaf266f43e1dca66cb0d660ecbf8f59e56af4808"
44
44
  }