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