@redhat-developer/locators 1.5.0 → 1.6.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 +21 -0
  2. package/package.json +2 -2
package/out/lib/1.37.0.js CHANGED
@@ -208,6 +208,27 @@ const editor = {
208
208
  container: (id) => selenium_webdriver_1.By.id(id),
209
209
  attribute: 'aria-flowto',
210
210
  },
211
+ ExtensionEditorView: {
212
+ constructor: selenium_webdriver_1.By.className('extension-editor'),
213
+ name: selenium_webdriver_1.By.className('name'),
214
+ version: selenium_webdriver_1.By.className('version'),
215
+ publisher: selenium_webdriver_1.By.className('publisher-name'),
216
+ description: selenium_webdriver_1.By.className('description'),
217
+ count: selenium_webdriver_1.By.className('count'),
218
+ navbar: selenium_webdriver_1.By.className('navbar'),
219
+ tab: selenium_webdriver_1.By.className('action-label'),
220
+ activeTab: selenium_webdriver_1.By.xpath(`.//a[starts-with(@class, 'action-label checked')]`),
221
+ specificTab: (tabname) => selenium_webdriver_1.By.xpath(`.//a[starts-with(@class, 'action-label') and text()='${tabname}']`),
222
+ },
223
+ ExtensionEditorDetailsSection: {
224
+ categoriesContainer: selenium_webdriver_1.By.className('categories'),
225
+ category: selenium_webdriver_1.By.className('category'),
226
+ resourcesContainer: selenium_webdriver_1.By.className('resources'),
227
+ resource: selenium_webdriver_1.By.className('resource'),
228
+ moreInfoContainer: selenium_webdriver_1.By.className('more-info'),
229
+ moreInfo: selenium_webdriver_1.By.className('more-info-entry'),
230
+ moreInfoElements: selenium_webdriver_1.By.xpath('./*'),
231
+ },
211
232
  };
212
233
  const menu = {
213
234
  ContextMenu: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redhat-developer/locators",
3
- "version": "1.5.0",
3
+ "version": "1.6.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": "1e2ae6db75e1f18fbc65cae5f4945200a9d93d8d"
43
+ "gitHead": "0cc4673eeebfed276b29e6a16ccda8738bca3102"
44
44
  }