@redhat-developer/locators 1.0.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.
- package/LICENSE +202 -0
- package/README.md +3 -0
- package/out/index.d.ts +1 -0
- package/out/index.js +32 -0
- package/out/lib/1.37.0.d.ts +5 -0
- package/out/lib/1.37.0.js +485 -0
- package/out/lib/1.38.0.d.ts +2 -0
- package/out/lib/1.38.0.js +13 -0
- package/out/lib/1.39.0.d.ts +2 -0
- package/out/lib/1.39.0.js +22 -0
- package/out/lib/1.40.0.d.ts +2 -0
- package/out/lib/1.40.0.js +13 -0
- package/out/lib/1.41.0.d.ts +2 -0
- package/out/lib/1.41.0.js +15 -0
- package/out/lib/1.43.0.d.ts +2 -0
- package/out/lib/1.43.0.js +16 -0
- package/out/lib/1.44.0.d.ts +2 -0
- package/out/lib/1.44.0.js +13 -0
- package/out/lib/1.45.0.d.ts +2 -0
- package/out/lib/1.45.0.js +22 -0
- package/out/lib/1.46.0.d.ts +2 -0
- package/out/lib/1.46.0.js +12 -0
- package/out/lib/1.47.0.d.ts +2 -0
- package/out/lib/1.47.0.js +18 -0
- package/out/lib/1.49.0.d.ts +2 -0
- package/out/lib/1.49.0.js +12 -0
- package/out/lib/1.50.0.d.ts +2 -0
- package/out/lib/1.50.0.js +12 -0
- package/out/lib/1.52.0.d.ts +2 -0
- package/out/lib/1.52.0.js +12 -0
- package/out/lib/1.54.0.d.ts +2 -0
- package/out/lib/1.54.0.js +13 -0
- package/out/lib/1.56.0.d.ts +2 -0
- package/out/lib/1.56.0.js +15 -0
- package/out/lib/1.57.0.d.ts +2 -0
- package/out/lib/1.57.0.js +15 -0
- package/out/lib/1.59.0.d.ts +2 -0
- package/out/lib/1.59.0.js +12 -0
- package/out/lib/1.60.0.d.ts +2 -0
- package/out/lib/1.60.0.js +11 -0
- package/out/lib/1.61.0.d.ts +2 -0
- package/out/lib/1.61.0.js +15 -0
- package/out/lib/1.66.0.d.ts +2 -0
- package/out/lib/1.66.0.js +16 -0
- package/out/lib/1.70.0.d.ts +2 -0
- package/out/lib/1.70.0.js +26 -0
- package/out/lib/1.71.0.d.ts +2 -0
- package/out/lib/1.71.0.js +18 -0
- package/out/lib/1.73.0.d.ts +2 -0
- package/out/lib/1.73.0.js +12 -0
- package/out/lib/1.74.0.d.ts +2 -0
- package/out/lib/1.74.0.js +13 -0
- package/out/lib/1.83.0.d.ts +2 -0
- package/out/lib/1.83.0.js +12 -0
- package/out/lib/1.84.0.d.ts +2 -0
- package/out/lib/1.84.0.js +12 -0
- package/out/lib/1.85.0.d.ts +2 -0
- package/out/lib/1.85.0.js +15 -0
- package/out/lib/1.87.0.d.ts +2 -0
- package/out/lib/1.87.0.js +42 -0
- package/package.json +42 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.diff = void 0;
|
|
4
|
+
const selenium_webdriver_1 = require("selenium-webdriver");
|
|
5
|
+
exports.diff = {
|
|
6
|
+
locators: {
|
|
7
|
+
CustomTreeItem: {
|
|
8
|
+
constructor: (label) => selenium_webdriver_1.By.xpath(`.//div[@role='treeitem' and .//span[text()='${label}']]`)
|
|
9
|
+
},
|
|
10
|
+
ScmView: {
|
|
11
|
+
changes: selenium_webdriver_1.By.xpath(`.//div[@role="treeitem" and .//div/text()="Changes"]`),
|
|
12
|
+
stagedChanges: selenium_webdriver_1.By.xpath(`.//div[@role="treeitem" and .//div/text()="Staged Changes"]`),
|
|
13
|
+
providerTitle: selenium_webdriver_1.By.className('name'),
|
|
14
|
+
providerType: selenium_webdriver_1.By.className('description'),
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=1.47.0.js.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.diff = void 0;
|
|
4
|
+
const selenium_webdriver_1 = require("selenium-webdriver");
|
|
5
|
+
exports.diff = {
|
|
6
|
+
locators: {
|
|
7
|
+
TerminalView: {
|
|
8
|
+
constructor: selenium_webdriver_1.By.className('terminal-outer-container')
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=1.49.0.js.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.diff = void 0;
|
|
4
|
+
const selenium_webdriver_1 = require("selenium-webdriver");
|
|
5
|
+
exports.diff = {
|
|
6
|
+
locators: {
|
|
7
|
+
EditorView: {
|
|
8
|
+
closeTab: selenium_webdriver_1.By.className('codicon-close')
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=1.50.0.js.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.diff = void 0;
|
|
4
|
+
const selenium_webdriver_1 = require("selenium-webdriver");
|
|
5
|
+
exports.diff = {
|
|
6
|
+
locators: {
|
|
7
|
+
DefaultTreeItem: {
|
|
8
|
+
tooltip: selenium_webdriver_1.By.className('monaco-icon-label-container')
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=1.52.0.js.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.diff = void 0;
|
|
4
|
+
const selenium_webdriver_1 = require("selenium-webdriver");
|
|
5
|
+
exports.diff = {
|
|
6
|
+
locators: {
|
|
7
|
+
TerminalView: {
|
|
8
|
+
newTerminal: selenium_webdriver_1.By.xpath(`.//a[starts-with(@title, 'Create New Integrated Terminal')]`),
|
|
9
|
+
killTerminal: selenium_webdriver_1.By.xpath(`.//a[@title='Kill the Active Terminal Instance']`)
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=1.54.0.js.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.diff = void 0;
|
|
4
|
+
const selenium_webdriver_1 = require("selenium-webdriver");
|
|
5
|
+
exports.diff = {
|
|
6
|
+
locators: {
|
|
7
|
+
EditorView: {
|
|
8
|
+
webView: selenium_webdriver_1.By.xpath(`.//div[starts-with(@id, 'webview-editor')]`)
|
|
9
|
+
},
|
|
10
|
+
TerminalView: {
|
|
11
|
+
newTerminal: selenium_webdriver_1.By.xpath(`.//a[@title='New Terminal']`)
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=1.56.0.js.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.diff = void 0;
|
|
4
|
+
const selenium_webdriver_1 = require("selenium-webdriver");
|
|
5
|
+
exports.diff = {
|
|
6
|
+
locators: {
|
|
7
|
+
EditorView: {
|
|
8
|
+
settingsEditor: selenium_webdriver_1.By.className('settings-editor')
|
|
9
|
+
},
|
|
10
|
+
TerminalView: {
|
|
11
|
+
constructor: selenium_webdriver_1.By.className('integrated-terminal')
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=1.57.0.js.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.diff = void 0;
|
|
4
|
+
const page_objects_1 = require("@redhat-developer/page-objects");
|
|
5
|
+
exports.diff = {
|
|
6
|
+
locators: {
|
|
7
|
+
FindWidget: {
|
|
8
|
+
toggleReplace: page_objects_1.By.xpath(`.//div[@title="Toggle Replace"]`),
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=1.59.0.js.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.diff = void 0;
|
|
4
|
+
const page_objects_1 = require("@redhat-developer/page-objects");
|
|
5
|
+
exports.diff = {
|
|
6
|
+
locators: {
|
|
7
|
+
BottomBarPanel: {
|
|
8
|
+
globalActions: page_objects_1.By.className('global-actions')
|
|
9
|
+
},
|
|
10
|
+
DefaultTreeItem: {
|
|
11
|
+
tooltip: page_objects_1.By.className('monaco-icon-label')
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=1.61.0.js.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.diff = void 0;
|
|
4
|
+
const page_objects_1 = require("@redhat-developer/page-objects");
|
|
5
|
+
exports.diff = {
|
|
6
|
+
locators: {
|
|
7
|
+
ContextMenu: {
|
|
8
|
+
constructor: page_objects_1.By.className('monaco-menu')
|
|
9
|
+
},
|
|
10
|
+
BottomBarPanel: {
|
|
11
|
+
close: 'Close Panel',
|
|
12
|
+
closeAction: page_objects_1.By.className('codicon-panel-close')
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=1.66.0.js.map
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.diff = void 0;
|
|
4
|
+
const page_objects_1 = require("@redhat-developer/page-objects");
|
|
5
|
+
exports.diff = {
|
|
6
|
+
locators: {
|
|
7
|
+
BottomBarPanel: {
|
|
8
|
+
action: (label) => page_objects_1.By.xpath(`.//li[starts-with(@title, '${label}')]`)
|
|
9
|
+
},
|
|
10
|
+
ViewSection: {
|
|
11
|
+
buttonLabel: 'aria-label'
|
|
12
|
+
},
|
|
13
|
+
ViewTitlePart: {
|
|
14
|
+
action: page_objects_1.By.className(`action-label`),
|
|
15
|
+
actionConstructor: (title) => page_objects_1.By.xpath(`.//a[@title='${title}']`)
|
|
16
|
+
},
|
|
17
|
+
ScmView: {
|
|
18
|
+
action: page_objects_1.By.className('action-item menu-entry'),
|
|
19
|
+
actionConstructor: (title) => page_objects_1.By.xpath(`.//li[@title='${title}']`)
|
|
20
|
+
},
|
|
21
|
+
EditorView: {
|
|
22
|
+
attribute: 'aria-label'
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=1.70.0.js.map
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.diff = void 0;
|
|
4
|
+
const selenium_webdriver_1 = require("selenium-webdriver");
|
|
5
|
+
exports.diff = {
|
|
6
|
+
locators: {
|
|
7
|
+
EditorView: {
|
|
8
|
+
attribute: 'aria-label'
|
|
9
|
+
},
|
|
10
|
+
TreeItem: {
|
|
11
|
+
actionTitle: 'aria-label'
|
|
12
|
+
},
|
|
13
|
+
Input: {
|
|
14
|
+
multiSelectIndex: (index) => selenium_webdriver_1.By.xpath(`.//div[@role='checkbox' and @data-index='${index}']`)
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=1.71.0.js.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.diff = void 0;
|
|
4
|
+
const page_objects_1 = require("@redhat-developer/page-objects");
|
|
5
|
+
exports.diff = {
|
|
6
|
+
locators: {
|
|
7
|
+
ProblemsView: {
|
|
8
|
+
markersFilter: page_objects_1.By.className('viewpane-filter')
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=1.73.0.js.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.diff = void 0;
|
|
4
|
+
const page_objects_1 = require("@redhat-developer/page-objects");
|
|
5
|
+
exports.diff = {
|
|
6
|
+
locators: {
|
|
7
|
+
WebView: {
|
|
8
|
+
container: (id) => page_objects_1.By.xpath(`.//div[@data-parent-flow-to-element-id='${id}']`),
|
|
9
|
+
attribute: 'id'
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=1.74.0.js.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.diff = void 0;
|
|
4
|
+
const page_objects_1 = require("@redhat-developer/page-objects");
|
|
5
|
+
exports.diff = {
|
|
6
|
+
locators: {
|
|
7
|
+
ViewSection: {
|
|
8
|
+
actionConstructor: (label) => page_objects_1.By.xpath(`.//a[contains(@class, 'action-label') and @role='button' and @aria-label='${label}']`),
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=1.83.0.js.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.diff = void 0;
|
|
4
|
+
const page_objects_1 = require("@redhat-developer/page-objects");
|
|
5
|
+
exports.diff = {
|
|
6
|
+
locators: {
|
|
7
|
+
BottomBarPanel: {
|
|
8
|
+
tabContainer: page_objects_1.By.className('composite-bar-container')
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=1.84.0.js.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.diff = void 0;
|
|
4
|
+
const page_objects_1 = require("@redhat-developer/page-objects");
|
|
5
|
+
exports.diff = {
|
|
6
|
+
locators: {
|
|
7
|
+
Workbench: {
|
|
8
|
+
notificationContainer: page_objects_1.By.className('notifications-list-container')
|
|
9
|
+
},
|
|
10
|
+
ViewTitlePart: {
|
|
11
|
+
actionConstructor: (title) => page_objects_1.By.xpath(`.//a[@aria-label='${title}']`)
|
|
12
|
+
},
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=1.85.0.js.map
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.diff = void 0;
|
|
4
|
+
const page_objects_1 = require("@redhat-developer/page-objects");
|
|
5
|
+
exports.diff = {
|
|
6
|
+
locators: {
|
|
7
|
+
BottomBarPanel: {
|
|
8
|
+
close: 'Hide Panel',
|
|
9
|
+
globalActions: page_objects_1.By.className('global-actions'),
|
|
10
|
+
action: (label) => page_objects_1.By.xpath(`.//a[starts-with(@aria-label, '${label}')]`)
|
|
11
|
+
},
|
|
12
|
+
SettingsEditor: {
|
|
13
|
+
comboValue: 'value'
|
|
14
|
+
},
|
|
15
|
+
FindWidget: {
|
|
16
|
+
checkbox: (title) => page_objects_1.By.xpath(`.//div[@role='checkbox' and starts-with(@aria-label, "${title}")]`)
|
|
17
|
+
},
|
|
18
|
+
Notification: {
|
|
19
|
+
buttonConstructor: (title) => page_objects_1.By.xpath(`.//a[@role='button' and text()='${title}']`),
|
|
20
|
+
actionLabel: {
|
|
21
|
+
value: (0, page_objects_1.fromText)()
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
ScmView: {
|
|
25
|
+
action: page_objects_1.By.className('action-label'),
|
|
26
|
+
actionConstructor: (title) => page_objects_1.By.xpath(`.//a[@aria-label='${title}']`),
|
|
27
|
+
actionLabel: 'aria-label'
|
|
28
|
+
},
|
|
29
|
+
ViewTitlePart: {
|
|
30
|
+
actionLabel: 'aria-label'
|
|
31
|
+
},
|
|
32
|
+
DefaultTreeItem: {
|
|
33
|
+
labelAttribute: 'aria-label'
|
|
34
|
+
},
|
|
35
|
+
Dialog: {
|
|
36
|
+
buttonLabel: {
|
|
37
|
+
value: (0, page_objects_1.fromText)()
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
//# sourceMappingURL=1.87.0.js.map
|
package/package.json
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@redhat-developer/locators",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Pluggable Page Objects locators for an ExTester framework.",
|
|
5
|
+
"main": "out/index.js",
|
|
6
|
+
"types": "out/index.d.ts",
|
|
7
|
+
"files": [
|
|
8
|
+
"out/**/*.js",
|
|
9
|
+
"out/**/*.d.ts"
|
|
10
|
+
],
|
|
11
|
+
"author": "Red Hat",
|
|
12
|
+
"license": "Apache-2.0",
|
|
13
|
+
"publishConfig": {
|
|
14
|
+
"access": "public"
|
|
15
|
+
},
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "https://github.com/redhat-developer/vscode-extension-tester.git",
|
|
19
|
+
"directory": "packages/locators"
|
|
20
|
+
},
|
|
21
|
+
"keywords": [
|
|
22
|
+
"webdriver",
|
|
23
|
+
"selenium-webdriver",
|
|
24
|
+
"selenium",
|
|
25
|
+
"test",
|
|
26
|
+
"vscode",
|
|
27
|
+
"extension",
|
|
28
|
+
"extester",
|
|
29
|
+
"vscode-extension-tester",
|
|
30
|
+
"ui-test"
|
|
31
|
+
],
|
|
32
|
+
"scripts": {
|
|
33
|
+
"prepack": "npm run build",
|
|
34
|
+
"build": "npm run clean && tsc",
|
|
35
|
+
"clean": "rimraf out"
|
|
36
|
+
},
|
|
37
|
+
"peerDependencies": {
|
|
38
|
+
"@redhat-developer/page-objects": ">=1.0.0",
|
|
39
|
+
"selenium-webdriver": ">=4.6.1"
|
|
40
|
+
},
|
|
41
|
+
"gitHead": "287f2645f6b4a1ae6fae55c1c9fdcec6bde594ff"
|
|
42
|
+
}
|