@redhat-developer/locators 1.6.1 → 1.7.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.
Files changed (2) hide show
  1. package/out/lib/1.37.0.js +13 -0
  2. package/package.json +2 -2
package/out/lib/1.37.0.js CHANGED
@@ -372,6 +372,19 @@ const sideBar = {
372
372
  label: selenium_webdriver_1.By.className('monaco-highlighted-label'),
373
373
  text: selenium_webdriver_1.By.className('state label monaco-count-badge long'),
374
374
  },
375
+ WatchSection: {
376
+ predicate: async (section) => (await section.getTitle()).toLowerCase() === 'watch',
377
+ input: selenium_webdriver_1.By.css('input'),
378
+ addExpression: 'Add Expression',
379
+ refresh: 'Refresh',
380
+ removeAll: 'Remove All Expressions',
381
+ collapseAll: 'Collapse All',
382
+ },
383
+ WatchSectionItem: {
384
+ label: selenium_webdriver_1.By.className('monaco-highlighted-label'),
385
+ value: selenium_webdriver_1.By.xpath(`.//*[contains(@class, 'value ') and starts-with(@class, 'value ')]`),
386
+ remove: 'Remove Expression',
387
+ },
375
388
  ExtensionsViewSection: {
376
389
  items: selenium_webdriver_1.By.className('monaco-list-rows'),
377
390
  itemRow: selenium_webdriver_1.By.className('monaco-list-row'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redhat-developer/locators",
3
- "version": "1.6.1",
3
+ "version": "1.7.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": "f1e060d3ee1f63808f2c2b1dd58f4312d41341c2"
43
+ "gitHead": "f45222ba83c369def4e95fefaa1ceba5a96e181e"
44
44
  }