graphdb-workbench-tests 3.1.0-WBM-3 → 3.1.0-WBM-5
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/cypress.config.js +1 -1
- package/e2e-legacy/guides/movies-interactive-guide.spec.js +1 -5
- package/e2e-legacy/guides/star-wars-interactive-guide.js +1 -5
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
- package/steps/main-menu-steps.js +3 -3
- package/steps/repository-selector-steps.js +1 -1
package/cypress.config.js
CHANGED
|
@@ -21,7 +21,7 @@ module.exports = defineConfig({
|
|
|
21
21
|
return require('./plugins')(on, config);
|
|
22
22
|
},
|
|
23
23
|
baseUrl: 'http://localhost:9000',
|
|
24
|
-
specPattern: '
|
|
24
|
+
specPattern: './**/*.{js,jsx,ts,tsx}',
|
|
25
25
|
supportFile: 'support/e2e.js',
|
|
26
26
|
reporter: "cypress-multi-reporters",
|
|
27
27
|
reporterOptions: {
|
|
@@ -3,10 +3,7 @@ import {MoviesGuideSteps} from "../../steps/guides/movies-guide-steps";
|
|
|
3
3
|
|
|
4
4
|
const MOVIES_FILE_FOR_IMPORT = 'movies.ttl';
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
* TODO: Fix me. Broken due to migration (Error: Changes in main menu)
|
|
8
|
-
*/
|
|
9
|
-
describe.skip('Interactive guides', () => {
|
|
6
|
+
describe('Interactive guides', () => {
|
|
10
7
|
|
|
11
8
|
let repositoryId;
|
|
12
9
|
|
|
@@ -25,7 +22,6 @@ describe.skip('Interactive guides', () => {
|
|
|
25
22
|
|
|
26
23
|
context('Describes "Movies" interactive guide', () => {
|
|
27
24
|
it('Tests movies interactive guide using "Next" button to the end', () => {
|
|
28
|
-
|
|
29
25
|
const stepAssertions = [
|
|
30
26
|
{assert: MoviesGuideSteps.assertExploreClassHierarchyStep1},
|
|
31
27
|
{assert: MoviesGuideSteps.assertExploreClassHierarchyStep2},
|
|
@@ -3,11 +3,7 @@ import {StarWarsGuideSteps} from "../../steps/guides/star-wars-guide-steps";
|
|
|
3
3
|
|
|
4
4
|
const STAR_WARS_FILE_FOR_IMPORT = 'starwars.ttl';
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* TODO: Fix me. Broken due to migration (Changes in main menu)
|
|
9
|
-
*/
|
|
10
|
-
describe.skip('Describes "Starwars" interactive guide', () => {
|
|
6
|
+
describe('Describes "Starwars" interactive guide', () => {
|
|
11
7
|
|
|
12
8
|
let repositoryId;
|
|
13
9
|
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "graphdb-workbench-tests",
|
|
3
|
-
"version": "3.1.0-WBM-
|
|
3
|
+
"version": "3.1.0-WBM-5",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "graphdb-workbench-tests",
|
|
9
|
-
"version": "3.1.0-WBM-
|
|
9
|
+
"version": "3.1.0-WBM-5",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"devDependencies": {
|
|
12
12
|
"cypress": "^13.17.0",
|
package/package.json
CHANGED
package/steps/main-menu-steps.js
CHANGED
|
@@ -47,15 +47,15 @@ export class MainMenuSteps {
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
static getSubmenuAutocomplete() {
|
|
50
|
-
return MainMenuSteps.getSubMenuButton("
|
|
50
|
+
return MainMenuSteps.getSubMenuButton("sub-menu-autocomplete");
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
static getSubmenuClassHierarchy() {
|
|
54
|
-
return MainMenuSteps.getSubMenuButton("
|
|
54
|
+
return MainMenuSteps.getSubMenuButton("menu-class-hierarchy");
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
static getSubmenuVisualGraph() {
|
|
58
|
-
return MainMenuSteps.getSubMenuButton("
|
|
58
|
+
return MainMenuSteps.getSubMenuButton("sub-menu-visual-graph");
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
static clickOnMenu(menuName) {
|
|
@@ -5,7 +5,7 @@ export class RepositorySelectorSteps {
|
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
static getRepositorySelectorsButton() {
|
|
8
|
-
return RepositorySelectorSteps.getRepositorySelectorDropdown().find('.onto-dropdown-button .
|
|
8
|
+
return RepositorySelectorSteps.getRepositorySelectorDropdown().find('.onto-dropdown-button .repository-selection');
|
|
9
9
|
}
|
|
10
10
|
static openRepositorySelectors() {
|
|
11
11
|
RepositorySelectorSteps.getRepositorySelectorsButton().click();
|