@redhat-developer/locators 1.12.1 → 1.14.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.
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Licensed to the Apache Software Foundation (ASF) under one or more
3
+ * contributor license agreements. See the NOTICE file distributed with
4
+ * this work for additional information regarding copyright ownership.
5
+ * The ASF licenses this file to You under the Apache License, Version 2.0
6
+ * (the "License", destination); you may not use this file except in compliance with
7
+ * the License. You may obtain a copy of the License at
8
+ *
9
+ * https://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ import { LocatorDiff } from '@redhat-developer/page-objects';
18
+ export declare const diff: LocatorDiff;
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ /**
3
+ * Licensed to the Apache Software Foundation (ASF) under one or more
4
+ * contributor license agreements. See the NOTICE file distributed with
5
+ * this work for additional information regarding copyright ownership.
6
+ * The ASF licenses this file to You under the Apache License, Version 2.0
7
+ * (the "License", destination); you may not use this file except in compliance with
8
+ * the License. You may obtain a copy of the License at
9
+ *
10
+ * https://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ */
18
+ Object.defineProperty(exports, "__esModule", { value: true });
19
+ exports.diff = void 0;
20
+ const page_objects_1 = require("@redhat-developer/page-objects");
21
+ exports.diff = {
22
+ locators: {
23
+ Input: {
24
+ quickPickSelectAll: page_objects_1.By.xpath(`.//div[@role='checkbox' and @aria-label='Toggle all checkboxes']`),
25
+ },
26
+ },
27
+ };
28
+ //# sourceMappingURL=1.100.0.js.map
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Licensed to the Apache Software Foundation (ASF) under one or more
3
+ * contributor license agreements. See the NOTICE file distributed with
4
+ * this work for additional information regarding copyright ownership.
5
+ * The ASF licenses this file to You under the Apache License, Version 2.0
6
+ * (the "License", destination); you may not use this file except in compliance with
7
+ * the License. You may obtain a copy of the License at
8
+ *
9
+ * https://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ import { LocatorDiff } from '@redhat-developer/page-objects';
18
+ export declare const diff: LocatorDiff;
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ /**
3
+ * Licensed to the Apache Software Foundation (ASF) under one or more
4
+ * contributor license agreements. See the NOTICE file distributed with
5
+ * this work for additional information regarding copyright ownership.
6
+ * The ASF licenses this file to You under the Apache License, Version 2.0
7
+ * (the "License", destination); you may not use this file except in compliance with
8
+ * the License. You may obtain a copy of the License at
9
+ *
10
+ * https://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ */
18
+ Object.defineProperty(exports, "__esModule", { value: true });
19
+ exports.diff = void 0;
20
+ const page_objects_1 = require("@redhat-developer/page-objects");
21
+ exports.diff = {
22
+ locators: {
23
+ Editor: {
24
+ inputArea: page_objects_1.By.className('native-edit-context'),
25
+ },
26
+ ExtensionsViewSection: {
27
+ searchBox: page_objects_1.By.className('native-edit-context'),
28
+ },
29
+ OutputView: {
30
+ currentChannelAttribute: 'value',
31
+ },
32
+ BottomBarViews: {
33
+ textArea: page_objects_1.By.className('native-edit-context'),
34
+ },
35
+ DebugView: {
36
+ launchSelectAttribute: 'value',
37
+ },
38
+ },
39
+ };
40
+ //# sourceMappingURL=1.101.0.js.map
package/out/lib/1.37.0.js CHANGED
@@ -99,6 +99,7 @@ const bottomBar = {
99
99
  constructor: selenium_webdriver_1.By.id('workbench.panel.output'),
100
100
  actionsLabel: 'Output actions',
101
101
  optionByName: (name) => selenium_webdriver_1.By.xpath(`.//option[@value='${name}']`),
102
+ currentChannelAttribute: 'title',
102
103
  },
103
104
  WebviewView: {
104
105
  iframe: selenium_webdriver_1.By.xpath(`//div[not(@class)]/iframe[@class='webview ready' and not(@data-parent-flow-to-element-id)]`),
@@ -239,6 +240,7 @@ const editor = {
239
240
  moreInfoContainer: selenium_webdriver_1.By.className('more-info'),
240
241
  moreInfo: selenium_webdriver_1.By.className('more-info-entry'),
241
242
  moreInfoElements: selenium_webdriver_1.By.xpath('./*'),
243
+ readmeContent: selenium_webdriver_1.By.css('body'),
242
244
  },
243
245
  EditorAction: {
244
246
  shadowRootHost: selenium_webdriver_1.By.className('shadow-root-host'),
@@ -255,6 +257,7 @@ const menu = {
255
257
  itemText: 'aria-label',
256
258
  itemNesting: selenium_webdriver_1.By.className('submenu-indicator'),
257
259
  viewBlock: selenium_webdriver_1.By.className('context-view-block'),
260
+ shadowRootHost: selenium_webdriver_1.By.className('shadow-root-host'),
258
261
  },
259
262
  TitleBar: {
260
263
  constructor: selenium_webdriver_1.By.id('workbench.parts.titlebar'),
@@ -451,6 +454,7 @@ const sideBar = {
451
454
  DebugView: {
452
455
  launchCombo: selenium_webdriver_1.By.className('start-debug-action-item'),
453
456
  launchSelect: selenium_webdriver_1.By.css('select'),
457
+ launchSelectAttribute: 'title',
454
458
  launchOption: selenium_webdriver_1.By.css('option'),
455
459
  optionByName: (name) => selenium_webdriver_1.By.xpath(`.//option[@value='${name}']`),
456
460
  startButton: selenium_webdriver_1.By.className('codicon-debug-start'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redhat-developer/locators",
3
- "version": "1.12.1",
3
+ "version": "1.14.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": "3edc27b71011b6b970d75ca98d4195c1e530e317"
43
+ "gitHead": "d363505004b2ff5533aa1f3f72576de0ed02647f"
44
44
  }