@redhat-developer/locators 1.1.0 → 1.1.2
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.d.ts +16 -0
- package/out/index.js +16 -0
- package/out/lib/1.37.0.d.ts +17 -1
- package/out/lib/1.37.0.js +91 -75
- package/out/lib/1.38.0.d.ts +17 -1
- package/out/lib/1.38.0.js +19 -3
- package/out/lib/1.39.0.d.ts +17 -1
- package/out/lib/1.39.0.js +22 -6
- package/out/lib/1.40.0.d.ts +17 -1
- package/out/lib/1.40.0.js +19 -3
- package/out/lib/1.41.0.d.ts +17 -1
- package/out/lib/1.41.0.js +20 -4
- package/out/lib/1.43.0.d.ts +17 -1
- package/out/lib/1.43.0.js +20 -4
- package/out/lib/1.44.0.d.ts +17 -1
- package/out/lib/1.44.0.js +19 -3
- package/out/lib/1.45.0.d.ts +17 -1
- package/out/lib/1.45.0.js +22 -6
- package/out/lib/1.46.0.d.ts +17 -1
- package/out/lib/1.46.0.js +19 -3
- package/out/lib/1.47.0.d.ts +17 -1
- package/out/lib/1.47.0.js +19 -3
- package/out/lib/1.49.0.d.ts +17 -1
- package/out/lib/1.49.0.js +19 -3
- package/out/lib/1.50.0.d.ts +17 -1
- package/out/lib/1.50.0.js +19 -3
- package/out/lib/1.52.0.d.ts +17 -1
- package/out/lib/1.52.0.js +19 -3
- package/out/lib/1.54.0.d.ts +17 -1
- package/out/lib/1.54.0.js +19 -3
- package/out/lib/1.56.0.d.ts +17 -1
- package/out/lib/1.56.0.js +20 -4
- package/out/lib/1.57.0.d.ts +17 -1
- package/out/lib/1.57.0.js +20 -4
- package/out/lib/1.59.0.d.ts +17 -1
- package/out/lib/1.59.0.js +18 -2
- package/out/lib/1.60.0.d.ts +17 -1
- package/out/lib/1.60.0.js +19 -3
- package/out/lib/1.61.0.d.ts +17 -1
- package/out/lib/1.61.0.js +20 -4
- package/out/lib/1.66.0.d.ts +17 -1
- package/out/lib/1.66.0.js +20 -4
- package/out/lib/1.70.0.d.ts +17 -1
- package/out/lib/1.70.0.js +23 -7
- package/out/lib/1.71.0.d.ts +17 -1
- package/out/lib/1.71.0.js +21 -5
- package/out/lib/1.73.0.d.ts +17 -1
- package/out/lib/1.73.0.js +19 -3
- package/out/lib/1.74.0.d.ts +17 -1
- package/out/lib/1.74.0.js +19 -3
- package/out/lib/1.83.0.d.ts +17 -1
- package/out/lib/1.83.0.js +18 -2
- package/out/lib/1.84.0.d.ts +17 -1
- package/out/lib/1.84.0.js +19 -3
- package/out/lib/1.85.0.d.ts +17 -1
- package/out/lib/1.85.0.js +19 -3
- package/out/lib/1.87.0.d.ts +17 -1
- package/out/lib/1.87.0.js +28 -12
- package/out/lib/1.88.0.d.ts +17 -1
- package/out/lib/1.88.0.js +19 -3
- package/package.json +2 -2
package/out/index.d.ts
CHANGED
|
@@ -1 +1,17 @@
|
|
|
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
|
+
*/
|
|
1
17
|
export declare function getLocatorsPath(): string;
|
package/out/index.js
CHANGED
|
@@ -1,4 +1,20 @@
|
|
|
1
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
|
+
*/
|
|
2
18
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
19
|
if (k2 === undefined) k2 = k;
|
|
4
20
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
package/out/lib/1.37.0.d.ts
CHANGED
|
@@ -1,4 +1,20 @@
|
|
|
1
|
-
|
|
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 { Locators } from '@redhat-developer/page-objects';
|
|
2
18
|
/**
|
|
3
19
|
* All available locators for vscode version 1.37.0
|
|
4
20
|
*/
|
package/out/lib/1.37.0.js
CHANGED
|
@@ -1,13 +1,29 @@
|
|
|
1
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
|
+
*/
|
|
2
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
19
|
exports.locators = void 0;
|
|
4
20
|
const page_objects_1 = require("@redhat-developer/page-objects");
|
|
5
21
|
const selenium_webdriver_1 = require("selenium-webdriver");
|
|
6
22
|
const abstractElement = {
|
|
7
23
|
AbstractElement: {
|
|
8
|
-
enabled: (0, page_objects_1.hasNotClass)(
|
|
9
|
-
selected: (0, page_objects_1.hasAttribute)('aria-selected', 'true')
|
|
10
|
-
}
|
|
24
|
+
enabled: (0, page_objects_1.hasNotClass)('disabled'),
|
|
25
|
+
selected: (0, page_objects_1.hasAttribute)('aria-selected', 'true'),
|
|
26
|
+
},
|
|
11
27
|
};
|
|
12
28
|
const activityBar = {
|
|
13
29
|
ActivityBar: {
|
|
@@ -15,15 +31,15 @@ const activityBar = {
|
|
|
15
31
|
viewContainer: selenium_webdriver_1.By.xpath(`.//ul[@aria-label='Active View Switcher']`),
|
|
16
32
|
label: 'aria-label',
|
|
17
33
|
actionsContainer: selenium_webdriver_1.By.xpath(`.//ul[@aria-label='Manage']`),
|
|
18
|
-
actionItem: selenium_webdriver_1.By.className('action-item')
|
|
34
|
+
actionItem: selenium_webdriver_1.By.className('action-item'),
|
|
19
35
|
},
|
|
20
36
|
ViewControl: {
|
|
21
37
|
attribute: 'class',
|
|
22
38
|
klass: 'checked',
|
|
23
39
|
scmId: selenium_webdriver_1.By.id('workbench.view.scm'),
|
|
24
40
|
debugId: selenium_webdriver_1.By.id('workbench.view.debug'),
|
|
25
|
-
badge: selenium_webdriver_1.By.className('badge')
|
|
26
|
-
}
|
|
41
|
+
badge: selenium_webdriver_1.By.className('badge'),
|
|
42
|
+
},
|
|
27
43
|
};
|
|
28
44
|
const bottomBar = {
|
|
29
45
|
BottomBarPanel: {
|
|
@@ -40,7 +56,7 @@ const bottomBar = {
|
|
|
40
56
|
actions: selenium_webdriver_1.By.className('title-actions'),
|
|
41
57
|
globalActions: selenium_webdriver_1.By.className('title-actions'),
|
|
42
58
|
action: (label) => selenium_webdriver_1.By.xpath(`.//a[starts-with(@title, '${label}')]`),
|
|
43
|
-
closeAction: selenium_webdriver_1.By.className('codicon-panel-close')
|
|
59
|
+
closeAction: selenium_webdriver_1.By.className('codicon-panel-close'),
|
|
44
60
|
},
|
|
45
61
|
BottomBarViews: {
|
|
46
62
|
actionsContainer: (label) => selenium_webdriver_1.By.xpath(`.//ul[@aria-label='${label}']`),
|
|
@@ -49,7 +65,7 @@ const bottomBar = {
|
|
|
49
65
|
channelText: selenium_webdriver_1.By.className('option-text'),
|
|
50
66
|
channelRow: selenium_webdriver_1.By.className('monaco-list-row'),
|
|
51
67
|
textArea: selenium_webdriver_1.By.css('textarea'),
|
|
52
|
-
clearText: selenium_webdriver_1.By.className('clear-output')
|
|
68
|
+
clearText: selenium_webdriver_1.By.className('clear-output'),
|
|
53
69
|
},
|
|
54
70
|
ProblemsView: {
|
|
55
71
|
constructor: selenium_webdriver_1.By.id('workbench.panel.markers'),
|
|
@@ -60,7 +76,7 @@ const bottomBar = {
|
|
|
60
76
|
rowLabel: 'aria-label',
|
|
61
77
|
label: selenium_webdriver_1.By.className('monaco-highlighted-label'),
|
|
62
78
|
markerTwistie: selenium_webdriver_1.By.className('monaco-tl-twistie'),
|
|
63
|
-
changeCount: selenium_webdriver_1.By.className('monaco-count-badge')
|
|
79
|
+
changeCount: selenium_webdriver_1.By.className('monaco-count-badge'),
|
|
64
80
|
},
|
|
65
81
|
TerminalView: {
|
|
66
82
|
constructor: selenium_webdriver_1.By.id('workbench.panel.terminal'),
|
|
@@ -72,19 +88,19 @@ const bottomBar = {
|
|
|
72
88
|
singleTab: selenium_webdriver_1.By.className('single-terminal-tab'),
|
|
73
89
|
selectedRow: selenium_webdriver_1.By.className('monaco-list-row selected'),
|
|
74
90
|
row: selenium_webdriver_1.By.className('monaco-list-row'),
|
|
75
|
-
newCommand: 'terminal: create new integrated terminal'
|
|
91
|
+
newCommand: 'terminal: create new integrated terminal',
|
|
76
92
|
},
|
|
77
93
|
DebugConsoleView: {
|
|
78
|
-
constructor: selenium_webdriver_1.By.id('workbench.panel.repl')
|
|
94
|
+
constructor: selenium_webdriver_1.By.id('workbench.panel.repl'),
|
|
79
95
|
},
|
|
80
96
|
OutputView: {
|
|
81
97
|
constructor: selenium_webdriver_1.By.id('workbench.panel.output'),
|
|
82
98
|
actionsLabel: 'Output actions',
|
|
83
|
-
optionByName: (name) => selenium_webdriver_1.By.xpath(`.//option[@value='${name}']`)
|
|
99
|
+
optionByName: (name) => selenium_webdriver_1.By.xpath(`.//option[@value='${name}']`),
|
|
84
100
|
},
|
|
85
101
|
WebviewView: {
|
|
86
|
-
iframe: selenium_webdriver_1.By.xpath(`//div[not(@class)]/iframe[@class='webview ready' and not(@data-parent-flow-to-element-id)]`)
|
|
87
|
-
}
|
|
102
|
+
iframe: selenium_webdriver_1.By.xpath(`//div[not(@class)]/iframe[@class='webview ready' and not(@data-parent-flow-to-element-id)]`),
|
|
103
|
+
},
|
|
88
104
|
};
|
|
89
105
|
const editor = {
|
|
90
106
|
EditorView: {
|
|
@@ -100,12 +116,12 @@ const editor = {
|
|
|
100
116
|
tabLabel: 'aria-label',
|
|
101
117
|
actionContainer: selenium_webdriver_1.By.className('editor-actions'),
|
|
102
118
|
actionItem: selenium_webdriver_1.By.className('action-label'),
|
|
103
|
-
attribute: 'title'
|
|
119
|
+
attribute: 'title',
|
|
104
120
|
},
|
|
105
121
|
Editor: {
|
|
106
122
|
constructor: selenium_webdriver_1.By.className('editor-instance'),
|
|
107
123
|
inputArea: selenium_webdriver_1.By.className('inputarea'),
|
|
108
|
-
title: selenium_webdriver_1.By.className('label-name')
|
|
124
|
+
title: selenium_webdriver_1.By.className('label-name'),
|
|
109
125
|
},
|
|
110
126
|
TextEditor: {
|
|
111
127
|
activeTab: selenium_webdriver_1.By.css('div.tab.active'),
|
|
@@ -116,10 +132,10 @@ const editor = {
|
|
|
116
132
|
enabled: (0, page_objects_1.hasNotClass)('codicon-debug-breakpoint-unverified'),
|
|
117
133
|
line: {
|
|
118
134
|
selector: selenium_webdriver_1.By.className('line-numbers'),
|
|
119
|
-
number: (line) => line.getText().then((line) => Number.parseInt(line))
|
|
135
|
+
number: (line) => line.getText().then((line) => Number.parseInt(line)),
|
|
120
136
|
},
|
|
121
137
|
paused: (0, page_objects_1.hasClass)('codicon-debug-stackframe'),
|
|
122
|
-
}
|
|
138
|
+
},
|
|
123
139
|
},
|
|
124
140
|
editorContainer: selenium_webdriver_1.By.className('monaco-editor'),
|
|
125
141
|
dataUri: 'data-uri',
|
|
@@ -129,7 +145,7 @@ const editor = {
|
|
|
129
145
|
lineOverlay: (line) => selenium_webdriver_1.By.xpath(`.//div[contains(@class, 'line-numbers') and text() = '${line}']/..`),
|
|
130
146
|
debugHint: selenium_webdriver_1.By.className('codicon-debug-hint'),
|
|
131
147
|
selection: selenium_webdriver_1.By.className('cslr selected-text top-left-radius bottom-left-radius top-right-radius bottom-right-radius'),
|
|
132
|
-
findWidget: selenium_webdriver_1.By.className('find-widget')
|
|
148
|
+
findWidget: selenium_webdriver_1.By.className('find-widget'),
|
|
133
149
|
},
|
|
134
150
|
FindWidget: {
|
|
135
151
|
toggleReplace: selenium_webdriver_1.By.xpath(`.//div[@title="Toggle Replace mode"]`),
|
|
@@ -139,7 +155,7 @@ const editor = {
|
|
|
139
155
|
input: selenium_webdriver_1.By.css('textarea'),
|
|
140
156
|
content: selenium_webdriver_1.By.className('mirror'),
|
|
141
157
|
button: (title) => selenium_webdriver_1.By.xpath(`.//div[@role='button' and starts-with(@title, "${title}")]`),
|
|
142
|
-
checkbox: (title) => selenium_webdriver_1.By.xpath(`.//div[@role='checkbox' and starts-with(@title, "${title}")]`)
|
|
158
|
+
checkbox: (title) => selenium_webdriver_1.By.xpath(`.//div[@role='checkbox' and starts-with(@title, "${title}")]`),
|
|
143
159
|
},
|
|
144
160
|
ContentAssist: {
|
|
145
161
|
constructor: selenium_webdriver_1.By.className('suggest-widget'),
|
|
@@ -149,7 +165,7 @@ const editor = {
|
|
|
149
165
|
itemLabel: selenium_webdriver_1.By.className('label-name'),
|
|
150
166
|
itemText: selenium_webdriver_1.By.xpath(`./span/span`),
|
|
151
167
|
itemList: selenium_webdriver_1.By.className('monaco-list'),
|
|
152
|
-
firstItem: selenium_webdriver_1.By.xpath(`.//div[@data-index='0']`)
|
|
168
|
+
firstItem: selenium_webdriver_1.By.xpath(`.//div[@data-index='0']`),
|
|
153
169
|
},
|
|
154
170
|
SettingsEditor: {
|
|
155
171
|
title: 'Settings',
|
|
@@ -178,19 +194,19 @@ const editor = {
|
|
|
178
194
|
arrayEditRow: selenium_webdriver_1.By.className('setting-list-edit-row'),
|
|
179
195
|
arrayBtnConstructor: (label) => selenium_webdriver_1.By.xpath(`.//a[contains(@role, 'button') and @aria-label='${label}']`),
|
|
180
196
|
arraySettingItem: {
|
|
181
|
-
btnConstructor: (label) => selenium_webdriver_1.By.xpath(`.//a[contains(@role, 'button') and text()='${label}']`)
|
|
182
|
-
}
|
|
197
|
+
btnConstructor: (label) => selenium_webdriver_1.By.xpath(`.//a[contains(@role, 'button') and text()='${label}']`),
|
|
198
|
+
},
|
|
183
199
|
},
|
|
184
200
|
DiffEditor: {
|
|
185
201
|
originalEditor: selenium_webdriver_1.By.className('original-in-monaco-diff-editor'),
|
|
186
|
-
modifiedEditor: selenium_webdriver_1.By.className('modified-in-monaco-diff-editor')
|
|
202
|
+
modifiedEditor: selenium_webdriver_1.By.className('modified-in-monaco-diff-editor'),
|
|
187
203
|
},
|
|
188
204
|
WebView: {
|
|
189
205
|
iframe: selenium_webdriver_1.By.css(`iframe[class='webview ready']`),
|
|
190
206
|
activeFrame: selenium_webdriver_1.By.id('active-frame'),
|
|
191
207
|
container: (id) => selenium_webdriver_1.By.id(id),
|
|
192
|
-
attribute: 'aria-flowto'
|
|
193
|
-
}
|
|
208
|
+
attribute: 'aria-flowto',
|
|
209
|
+
},
|
|
194
210
|
};
|
|
195
211
|
const menu = {
|
|
196
212
|
ContextMenu: {
|
|
@@ -201,40 +217,40 @@ const menu = {
|
|
|
201
217
|
itemLabel: selenium_webdriver_1.By.className('action-label'),
|
|
202
218
|
itemText: 'aria-label',
|
|
203
219
|
itemNesting: selenium_webdriver_1.By.className('submenu-indicator'),
|
|
204
|
-
viewBlock: selenium_webdriver_1.By.className('context-view-block')
|
|
220
|
+
viewBlock: selenium_webdriver_1.By.className('context-view-block'),
|
|
205
221
|
},
|
|
206
222
|
TitleBar: {
|
|
207
223
|
constructor: selenium_webdriver_1.By.id('workbench.parts.titlebar'),
|
|
208
224
|
itemConstructor: (label) => selenium_webdriver_1.By.xpath(`.//div[@aria-label="${label}"]`),
|
|
209
225
|
itemElement: selenium_webdriver_1.By.className('menubar-menu-button'),
|
|
210
226
|
itemLabel: 'aria-label',
|
|
211
|
-
title: selenium_webdriver_1.By.className('window-title')
|
|
227
|
+
title: selenium_webdriver_1.By.className('window-title'),
|
|
212
228
|
},
|
|
213
229
|
WindowControls: {
|
|
214
230
|
constructor: selenium_webdriver_1.By.className('window-controls-container'),
|
|
215
231
|
minimize: selenium_webdriver_1.By.className('window-minimize'),
|
|
216
232
|
maximize: selenium_webdriver_1.By.className('window-maximize'),
|
|
217
233
|
restore: selenium_webdriver_1.By.className('window-unmaximize'),
|
|
218
|
-
close: selenium_webdriver_1.By.className('window-close')
|
|
219
|
-
}
|
|
234
|
+
close: selenium_webdriver_1.By.className('window-close'),
|
|
235
|
+
},
|
|
220
236
|
};
|
|
221
237
|
const sideBar = {
|
|
222
238
|
SideBarView: {
|
|
223
|
-
constructor: selenium_webdriver_1.By.id('workbench.parts.sidebar')
|
|
239
|
+
constructor: selenium_webdriver_1.By.id('workbench.parts.sidebar'),
|
|
224
240
|
},
|
|
225
241
|
ViewTitlePart: {
|
|
226
242
|
constructor: selenium_webdriver_1.By.className('composite title'),
|
|
227
243
|
title: selenium_webdriver_1.By.css('h2'),
|
|
228
244
|
action: selenium_webdriver_1.By.className(`action-label`),
|
|
229
245
|
actionLabel: 'title',
|
|
230
|
-
actionConstructor: (title) => selenium_webdriver_1.By.xpath(`.//a[@title='${title}']`)
|
|
246
|
+
actionConstructor: (title) => selenium_webdriver_1.By.xpath(`.//a[@title='${title}']`),
|
|
231
247
|
},
|
|
232
248
|
ViewContent: {
|
|
233
249
|
constructor: selenium_webdriver_1.By.className('content'),
|
|
234
250
|
progress: selenium_webdriver_1.By.className('monaco-progress-container'),
|
|
235
251
|
section: selenium_webdriver_1.By.className('split-view-view'),
|
|
236
252
|
defaultView: selenium_webdriver_1.By.className('explorer-folders-view'),
|
|
237
|
-
extensionsView: selenium_webdriver_1.By.className('extensions-list')
|
|
253
|
+
extensionsView: selenium_webdriver_1.By.className('extensions-list'),
|
|
238
254
|
},
|
|
239
255
|
ViewSection: {
|
|
240
256
|
title: selenium_webdriver_1.By.className('title'),
|
|
@@ -247,13 +263,13 @@ const sideBar = {
|
|
|
247
263
|
buttonLabel: 'title',
|
|
248
264
|
level: 'aria-level',
|
|
249
265
|
index: 'data-index',
|
|
250
|
-
welcomeContent: selenium_webdriver_1.By.className('welcome-view')
|
|
266
|
+
welcomeContent: selenium_webdriver_1.By.className('welcome-view'),
|
|
251
267
|
},
|
|
252
268
|
TreeItem: {
|
|
253
269
|
actions: selenium_webdriver_1.By.className('actions-container'),
|
|
254
270
|
actionLabel: selenium_webdriver_1.By.className('action-label'),
|
|
255
271
|
actionTitle: 'title',
|
|
256
|
-
twistie: selenium_webdriver_1.By.className('monaco-tl-twistie')
|
|
272
|
+
twistie: selenium_webdriver_1.By.className('monaco-tl-twistie'),
|
|
257
273
|
},
|
|
258
274
|
DefaultTreeSection: {
|
|
259
275
|
itemRow: selenium_webdriver_1.By.className('monaco-list-row'),
|
|
@@ -264,21 +280,21 @@ const sideBar = {
|
|
|
264
280
|
type: {
|
|
265
281
|
default: (0, page_objects_1.hasElement)((locators) => locators.ViewContent.defaultView),
|
|
266
282
|
marketplace: {
|
|
267
|
-
extension: (0, page_objects_1.hasElement)((locators) => locators.ViewContent.extensionsView)
|
|
268
|
-
}
|
|
269
|
-
}
|
|
283
|
+
extension: (0, page_objects_1.hasElement)((locators) => locators.ViewContent.extensionsView),
|
|
284
|
+
},
|
|
285
|
+
},
|
|
270
286
|
},
|
|
271
287
|
DefaultTreeItem: {
|
|
272
288
|
ctor: (label) => selenium_webdriver_1.By.xpath(`.//div[@role='treeitem' and @aria-label='${label}']`),
|
|
273
289
|
twistie: selenium_webdriver_1.By.className('monaco-tl-twistie'),
|
|
274
290
|
tooltip: selenium_webdriver_1.By.className('explorer-item'),
|
|
275
|
-
labelAttribute: 'title'
|
|
291
|
+
labelAttribute: 'title',
|
|
276
292
|
},
|
|
277
293
|
CustomTreeSection: {
|
|
278
294
|
itemRow: selenium_webdriver_1.By.className('monaco-list-row'),
|
|
279
295
|
itemLabel: selenium_webdriver_1.By.className('monaco-highlighted-label'),
|
|
280
296
|
rowContainer: selenium_webdriver_1.By.className('monaco-list'),
|
|
281
|
-
rowWithLabel: (label) => selenium_webdriver_1.By.xpath(`.//span[text()='${label}']`)
|
|
297
|
+
rowWithLabel: (label) => selenium_webdriver_1.By.xpath(`.//span[text()='${label}']`),
|
|
282
298
|
},
|
|
283
299
|
CustomTreeItem: {
|
|
284
300
|
constructor: (label) => selenium_webdriver_1.By.xpath(`.//div[@role='treeitem' and .//span[text()='${label}']]`),
|
|
@@ -288,44 +304,44 @@ const sideBar = {
|
|
|
288
304
|
description: selenium_webdriver_1.By.className('label-description'),
|
|
289
305
|
},
|
|
290
306
|
DebugBreakpointSection: {
|
|
291
|
-
predicate: async (section) => (await section.getTitle()).toLowerCase() === 'breakpoints'
|
|
307
|
+
predicate: async (section) => (await section.getTitle()).toLowerCase() === 'breakpoints',
|
|
292
308
|
},
|
|
293
309
|
BreakpointSectionItem: {
|
|
294
310
|
breakpoint: {
|
|
295
|
-
constructor: selenium_webdriver_1.By.className('codicon')
|
|
311
|
+
constructor: selenium_webdriver_1.By.className('codicon'),
|
|
296
312
|
},
|
|
297
313
|
breakpointCheckbox: {
|
|
298
314
|
constructor: selenium_webdriver_1.By.css('input[type=checkbox'),
|
|
299
|
-
value: (el) => el.isSelected()
|
|
315
|
+
value: (el) => el.isSelected(),
|
|
300
316
|
},
|
|
301
317
|
label: {
|
|
302
318
|
constructor: selenium_webdriver_1.By.className('name'),
|
|
303
|
-
value: (0, page_objects_1.fromText)()
|
|
319
|
+
value: (0, page_objects_1.fromText)(),
|
|
304
320
|
},
|
|
305
321
|
filePath: {
|
|
306
322
|
constructor: selenium_webdriver_1.By.className('file-path'),
|
|
307
|
-
value: (0, page_objects_1.fromText)()
|
|
323
|
+
value: (0, page_objects_1.fromText)(),
|
|
308
324
|
},
|
|
309
325
|
lineNumber: {
|
|
310
326
|
constructor: selenium_webdriver_1.By.className('line-number'),
|
|
311
|
-
value: (0, page_objects_1.fromText)()
|
|
312
|
-
}
|
|
327
|
+
value: (0, page_objects_1.fromText)(),
|
|
328
|
+
},
|
|
313
329
|
},
|
|
314
330
|
DebugVariableSection: {
|
|
315
|
-
predicate: async (section) => (await section.getTitle()).toLowerCase() === 'variables'
|
|
331
|
+
predicate: async (section) => (await section.getTitle()).toLowerCase() === 'variables',
|
|
316
332
|
},
|
|
317
333
|
VariableSectionItem: {
|
|
318
334
|
label: (0, page_objects_1.fromText)(selenium_webdriver_1.By.className('monaco-highlighted-label')),
|
|
319
335
|
name: {
|
|
320
336
|
constructor: selenium_webdriver_1.By.className('name'),
|
|
321
337
|
value: (0, page_objects_1.fromText)(),
|
|
322
|
-
tooltip: (0, page_objects_1.fromAttribute)('title', selenium_webdriver_1.By.className('monaco-highlighted-label'))
|
|
338
|
+
tooltip: (0, page_objects_1.fromAttribute)('title', selenium_webdriver_1.By.className('monaco-highlighted-label')),
|
|
323
339
|
},
|
|
324
340
|
value: {
|
|
325
341
|
constructor: selenium_webdriver_1.By.className('value'),
|
|
326
342
|
value: (0, page_objects_1.fromText)(),
|
|
327
|
-
tooltip: (0, page_objects_1.fromAttribute)('title')
|
|
328
|
-
}
|
|
343
|
+
tooltip: (0, page_objects_1.fromAttribute)('title'),
|
|
344
|
+
},
|
|
329
345
|
},
|
|
330
346
|
ExtensionsViewSection: {
|
|
331
347
|
items: selenium_webdriver_1.By.className('monaco-list-rows'),
|
|
@@ -333,14 +349,14 @@ const sideBar = {
|
|
|
333
349
|
itemTitle: selenium_webdriver_1.By.className('name'),
|
|
334
350
|
searchBox: selenium_webdriver_1.By.className('inputarea'),
|
|
335
351
|
textContainer: selenium_webdriver_1.By.className('view-line'),
|
|
336
|
-
textField: selenium_webdriver_1.By.className('mtk1')
|
|
352
|
+
textField: selenium_webdriver_1.By.className('mtk1'),
|
|
337
353
|
},
|
|
338
354
|
ExtensionsViewItem: {
|
|
339
355
|
version: selenium_webdriver_1.By.className('version'),
|
|
340
356
|
author: selenium_webdriver_1.By.className('author'),
|
|
341
357
|
description: selenium_webdriver_1.By.className('description'),
|
|
342
358
|
install: selenium_webdriver_1.By.className('install'),
|
|
343
|
-
manage: selenium_webdriver_1.By.className('manage')
|
|
359
|
+
manage: selenium_webdriver_1.By.className('manage'),
|
|
344
360
|
},
|
|
345
361
|
ScmView: {
|
|
346
362
|
providerHeader: selenium_webdriver_1.By.css(`div[class*='panel-header scm-provider']`),
|
|
@@ -367,15 +383,15 @@ const sideBar = {
|
|
|
367
383
|
singleScmProvider: selenium_webdriver_1.By.className(`scm-view`),
|
|
368
384
|
multiProviderItem: selenium_webdriver_1.By.xpath(`.//div[@role='treeitem' and @aria-level='1']`),
|
|
369
385
|
itemLevel: (level) => selenium_webdriver_1.By.xpath(`.//div[@role='treeitem' and @aria-level='${level}']`),
|
|
370
|
-
itemIndex: (index) => selenium_webdriver_1.By.xpath(`.//div[@role='treeitem' and @data-index='${index}']`)
|
|
386
|
+
itemIndex: (index) => selenium_webdriver_1.By.xpath(`.//div[@role='treeitem' and @data-index='${index}']`),
|
|
371
387
|
},
|
|
372
388
|
DebugView: {
|
|
373
389
|
launchCombo: selenium_webdriver_1.By.className('start-debug-action-item'),
|
|
374
390
|
launchSelect: selenium_webdriver_1.By.css('select'),
|
|
375
391
|
launchOption: selenium_webdriver_1.By.css('option'),
|
|
376
392
|
optionByName: (name) => selenium_webdriver_1.By.xpath(`.//option[@value='${name}']`),
|
|
377
|
-
startButton: selenium_webdriver_1.By.className('codicon-debug-start')
|
|
378
|
-
}
|
|
393
|
+
startButton: selenium_webdriver_1.By.className('codicon-debug-start'),
|
|
394
|
+
},
|
|
379
395
|
};
|
|
380
396
|
const statusBar = {
|
|
381
397
|
StatusBar: {
|
|
@@ -388,14 +404,14 @@ const statusBar = {
|
|
|
388
404
|
notifications: selenium_webdriver_1.By.className('notifications-center'),
|
|
389
405
|
bell: selenium_webdriver_1.By.id('status.notifications'),
|
|
390
406
|
item: selenium_webdriver_1.By.className('statusbar-item'),
|
|
391
|
-
itemTitle: 'aria-label'
|
|
392
|
-
}
|
|
407
|
+
itemTitle: 'aria-label',
|
|
408
|
+
},
|
|
393
409
|
};
|
|
394
410
|
const workbench = {
|
|
395
411
|
Workbench: {
|
|
396
412
|
constructor: selenium_webdriver_1.By.className('monaco-workbench'),
|
|
397
413
|
notificationContainer: selenium_webdriver_1.By.className('notification-toast-container'),
|
|
398
|
-
notificationItem: selenium_webdriver_1.By.className('monaco-list-row')
|
|
414
|
+
notificationItem: selenium_webdriver_1.By.className('monaco-list-row'),
|
|
399
415
|
},
|
|
400
416
|
Notification: {
|
|
401
417
|
message: selenium_webdriver_1.By.className('notification-list-item-message'),
|
|
@@ -407,23 +423,23 @@ const workbench = {
|
|
|
407
423
|
actions: selenium_webdriver_1.By.className('notification-list-item-buttons-container'),
|
|
408
424
|
action: selenium_webdriver_1.By.className('monaco-button'),
|
|
409
425
|
actionLabel: {
|
|
410
|
-
value: (0, page_objects_1.fromAttribute)('title')
|
|
426
|
+
value: (0, page_objects_1.fromAttribute)('title'),
|
|
411
427
|
},
|
|
412
428
|
standalone: (id) => selenium_webdriver_1.By.xpath(`.//div[contains(@class, 'monaco-list-row') and @id='${id}']`),
|
|
413
429
|
standaloneContainer: selenium_webdriver_1.By.className('notifications-toasts'),
|
|
414
430
|
center: (index) => selenium_webdriver_1.By.xpath(`.//div[contains(@class, 'monaco-list-row') and @data-index='${index}']`),
|
|
415
|
-
buttonConstructor: (title) => selenium_webdriver_1.By.xpath(`.//a[@role='button' and @title='${title}']`)
|
|
431
|
+
buttonConstructor: (title) => selenium_webdriver_1.By.xpath(`.//a[@role='button' and @title='${title}']`),
|
|
416
432
|
},
|
|
417
433
|
NotificationsCenter: {
|
|
418
434
|
constructor: selenium_webdriver_1.By.className('notifications-center'),
|
|
419
435
|
close: selenium_webdriver_1.By.className('hide-all-notifications-action'),
|
|
420
436
|
clear: selenium_webdriver_1.By.className('clear-all-notifications-action'),
|
|
421
|
-
row: selenium_webdriver_1.By.className('monaco-list-row')
|
|
437
|
+
row: selenium_webdriver_1.By.className('monaco-list-row'),
|
|
422
438
|
},
|
|
423
439
|
DebugToolbar: {
|
|
424
440
|
ctor: selenium_webdriver_1.By.className('debug-toolbar'),
|
|
425
|
-
button: (title) => selenium_webdriver_1.By.className(`codicon-debug-${title}`)
|
|
426
|
-
}
|
|
441
|
+
button: (title) => selenium_webdriver_1.By.className(`codicon-debug-${title}`),
|
|
442
|
+
},
|
|
427
443
|
};
|
|
428
444
|
const input = {
|
|
429
445
|
Input: {
|
|
@@ -437,7 +453,7 @@ const input = {
|
|
|
437
453
|
titleBar: selenium_webdriver_1.By.className('quick-input-titlebar'),
|
|
438
454
|
title: selenium_webdriver_1.By.className('quick-input-title'),
|
|
439
455
|
backButton: selenium_webdriver_1.By.className('codicon-quick-input-back'),
|
|
440
|
-
multiSelectIndex: (index) => selenium_webdriver_1.By.xpath(`.//div[@role='treeitem' and @data-index='${index}']`)
|
|
456
|
+
multiSelectIndex: (index) => selenium_webdriver_1.By.xpath(`.//div[@role='treeitem' and @data-index='${index}']`),
|
|
441
457
|
},
|
|
442
458
|
InputBox: {
|
|
443
459
|
constructor: selenium_webdriver_1.By.className('quick-input-widget'),
|
|
@@ -445,14 +461,14 @@ const input = {
|
|
|
445
461
|
progress: selenium_webdriver_1.By.className('quick-input-progress'),
|
|
446
462
|
quickList: selenium_webdriver_1.By.className('quick-input-list'),
|
|
447
463
|
rows: selenium_webdriver_1.By.className('monaco-list-rows'),
|
|
448
|
-
row: selenium_webdriver_1.By.className('monaco-list-row')
|
|
464
|
+
row: selenium_webdriver_1.By.className('monaco-list-row'),
|
|
449
465
|
},
|
|
450
466
|
QuickOpenBox: {
|
|
451
467
|
constructor: selenium_webdriver_1.By.className('monaco-quick-open-widget'),
|
|
452
468
|
progress: selenium_webdriver_1.By.className('monaco-progress-container'),
|
|
453
469
|
quickList: selenium_webdriver_1.By.className('quick-open-tree'),
|
|
454
|
-
row: selenium_webdriver_1.By.xpath(`.//div[@role='treeitem']`)
|
|
455
|
-
}
|
|
470
|
+
row: selenium_webdriver_1.By.xpath(`.//div[@role='treeitem']`),
|
|
471
|
+
},
|
|
456
472
|
};
|
|
457
473
|
const dialog = {
|
|
458
474
|
Dialog: {
|
|
@@ -463,18 +479,18 @@ const dialog = {
|
|
|
463
479
|
button: selenium_webdriver_1.By.className('monaco-text-button'),
|
|
464
480
|
closeButton: selenium_webdriver_1.By.className('codicon-dialog-close'),
|
|
465
481
|
buttonLabel: {
|
|
466
|
-
value: (0, page_objects_1.fromAttribute)('title')
|
|
467
|
-
}
|
|
468
|
-
}
|
|
482
|
+
value: (0, page_objects_1.fromAttribute)('title'),
|
|
483
|
+
},
|
|
484
|
+
},
|
|
469
485
|
};
|
|
470
486
|
const welcomeContentButtonSelector = ".//a[@class='monaco-button monaco-text-button']";
|
|
471
|
-
const welcomeContentTextSelector =
|
|
487
|
+
const welcomeContentTextSelector = './/p';
|
|
472
488
|
const welcome = {
|
|
473
489
|
WelcomeContent: {
|
|
474
490
|
button: selenium_webdriver_1.By.xpath(welcomeContentButtonSelector),
|
|
475
491
|
buttonOrText: selenium_webdriver_1.By.xpath(`${welcomeContentButtonSelector} | ${welcomeContentTextSelector}`),
|
|
476
|
-
text: selenium_webdriver_1.By.xpath(welcomeContentTextSelector)
|
|
477
|
-
}
|
|
492
|
+
text: selenium_webdriver_1.By.xpath(welcomeContentTextSelector),
|
|
493
|
+
},
|
|
478
494
|
};
|
|
479
495
|
/**
|
|
480
496
|
* All available locators for vscode version 1.37.0
|
|
@@ -490,6 +506,6 @@ exports.locators = {
|
|
|
490
506
|
...workbench,
|
|
491
507
|
...input,
|
|
492
508
|
...dialog,
|
|
493
|
-
...welcome
|
|
509
|
+
...welcome,
|
|
494
510
|
};
|
|
495
511
|
//# sourceMappingURL=1.37.0.js.map
|
package/out/lib/1.38.0.d.ts
CHANGED
|
@@ -1,2 +1,18 @@
|
|
|
1
|
-
|
|
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';
|
|
2
18
|
export declare const diff: LocatorDiff;
|
package/out/lib/1.38.0.js
CHANGED
|
@@ -1,4 +1,20 @@
|
|
|
1
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
|
+
*/
|
|
2
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
19
|
exports.diff = void 0;
|
|
4
20
|
const selenium_webdriver_1 = require("selenium-webdriver");
|
|
@@ -6,8 +22,8 @@ exports.diff = {
|
|
|
6
22
|
locators: {
|
|
7
23
|
EditorView: {
|
|
8
24
|
settingsEditor: selenium_webdriver_1.By.xpath(`.//div[@data-editor-id='workbench.editor.settings2']`),
|
|
9
|
-
webView: selenium_webdriver_1.By.xpath(`.//div[@data-editor-id='WebviewEditor']`)
|
|
10
|
-
}
|
|
11
|
-
}
|
|
25
|
+
webView: selenium_webdriver_1.By.xpath(`.//div[@data-editor-id='WebviewEditor']`),
|
|
26
|
+
},
|
|
27
|
+
},
|
|
12
28
|
};
|
|
13
29
|
//# sourceMappingURL=1.38.0.js.map
|
package/out/lib/1.39.0.d.ts
CHANGED
|
@@ -1,2 +1,18 @@
|
|
|
1
|
-
|
|
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';
|
|
2
18
|
export declare const diff: LocatorDiff;
|
package/out/lib/1.39.0.js
CHANGED
|
@@ -1,22 +1,38 @@
|
|
|
1
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
|
+
*/
|
|
2
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
19
|
exports.diff = void 0;
|
|
4
20
|
const selenium_webdriver_1 = require("selenium-webdriver");
|
|
5
21
|
exports.diff = {
|
|
6
22
|
locators: {
|
|
7
23
|
BottomBarViews: {
|
|
8
|
-
clearText: selenium_webdriver_1.By.className('codicon-clear-all')
|
|
24
|
+
clearText: selenium_webdriver_1.By.className('codicon-clear-all'),
|
|
9
25
|
},
|
|
10
26
|
NotificationsCenter: {
|
|
11
27
|
close: selenium_webdriver_1.By.className('codicon-chevron-down'),
|
|
12
|
-
clear: selenium_webdriver_1.By.className('codicon-close-all')
|
|
28
|
+
clear: selenium_webdriver_1.By.className('codicon-close-all'),
|
|
13
29
|
},
|
|
14
30
|
Notification: {
|
|
15
|
-
dismiss: selenium_webdriver_1.By.className('codicon-close')
|
|
31
|
+
dismiss: selenium_webdriver_1.By.className('codicon-close'),
|
|
16
32
|
},
|
|
17
33
|
ScmView: {
|
|
18
|
-
more: selenium_webdriver_1.By.className('codicon-more')
|
|
19
|
-
}
|
|
20
|
-
}
|
|
34
|
+
more: selenium_webdriver_1.By.className('codicon-more'),
|
|
35
|
+
},
|
|
36
|
+
},
|
|
21
37
|
};
|
|
22
38
|
//# sourceMappingURL=1.39.0.js.map
|