graphdb-workbench-tests 3.1.0-WBM-7 → 3.1.0-WBM-9

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.
Files changed (143) hide show
  1. package/e2e-legacy/cluster/cluster-configuration/cluster-configuration-multi-region.spec.js +1 -4
  2. package/e2e-legacy/cluster/cluster-configuration/cluster-configuration-nodes.spec.js +1 -4
  3. package/e2e-legacy/cluster/cluster-configuration/cluster-configuration.spec.js +1 -4
  4. package/e2e-legacy/cluster/edit-cluster-nodes-modal.spec.js +44 -0
  5. package/e2e-legacy/explore/class-hierarchy/class.hierarchy.spec.js +1 -2
  6. package/e2e-legacy/explore/graphs-overview/graphs.overview.spec.js +1 -2
  7. package/e2e-legacy/explore/similarity-index/similarity-index-with-repository.spec.js +38 -0
  8. package/e2e-legacy/explore/similarity-index/similarity-index-without-repository.spec.js +21 -0
  9. package/e2e-legacy/explore/visual-graph/graphs-config.spec.js +5 -18
  10. package/e2e-legacy/explore/visual-graph/visual.graph.spec.js +1 -2
  11. package/e2e-legacy/graphql/activate-deactivate-graphql-endpoint.spec.js +1 -1
  12. package/e2e-legacy/graphql/create-graphql-endpoint.spec.js +1 -3
  13. package/e2e-legacy/graphql/delete-graphql-endpoint.spec.js +1 -1
  14. package/e2e-legacy/graphql/edit-graphql-enpoint.spec.js +1 -1
  15. package/e2e-legacy/graphql/export-graphql-endpoint-definition.spec.js +1 -1
  16. package/e2e-legacy/graphql/filter-graphql-endpoints-on-management-view.spec.js +6 -3
  17. package/e2e-legacy/graphql/graphql-endpoint-management-view.spec.js +1 -1
  18. package/e2e-legacy/graphql/graphql-playground.spec.js +1 -1
  19. package/e2e-legacy/graphql/import-graphql-endpoint-definitions.spec.js +5 -2
  20. package/e2e-legacy/graphql/set-default-graphql-endpoint.spec.js +1 -1
  21. package/e2e-legacy/help/guides/guides-with-repository.spec.js +32 -0
  22. package/e2e-legacy/help/guides/guides-without-repository.spec.js +20 -0
  23. package/e2e-legacy/{guides → help/guides}/movies-interactive-guide.spec.js +2 -2
  24. package/e2e-legacy/{guides → help/guides}/star-wars-interactive-guide.js +2 -2
  25. package/e2e-legacy/help/rest-api-documentatio/rest-api-documentation-with-repository.spec.js +32 -0
  26. package/e2e-legacy/help/rest-api-documentatio/rest-api-documentation-without-repository.spec.js +20 -0
  27. package/e2e-legacy/help/system-information/system-information-with-repository.spec.js +32 -0
  28. package/e2e-legacy/help/system-information/system-information-without-repository.spec.js +20 -0
  29. package/e2e-legacy/home/create-repository.spec.js +2 -6
  30. package/e2e-legacy/home/language-change.spec.js +1 -4
  31. package/e2e-legacy/home/view-resource-autocomplete.spec.js +2 -6
  32. package/e2e-legacy/import/import-server-files-batch-operations.spec.js +1 -2
  33. package/e2e-legacy/import/import-server-files.spec.js +1 -2
  34. package/e2e-legacy/import/import-user-data-file-upload.spec.js +19 -20
  35. package/e2e-legacy/import/import-user-data-text-snippet.spec.js +8 -32
  36. package/e2e-legacy/import/import-user-data-url.spec.js +1 -2
  37. package/e2e-legacy/import/import-user-data.spec.js +6 -3
  38. package/e2e-legacy/import/import-view.spec.js +1 -2
  39. package/e2e-legacy/license/license-with-repository.spec.js +113 -0
  40. package/e2e-legacy/license/license-without-repository.spec.js +103 -0
  41. package/e2e-legacy/license/license.spec.js +4 -4
  42. package/e2e-legacy/monitor/backup-and-restore/backup-and-restore-with-repository.spec.js +36 -0
  43. package/e2e-legacy/monitor/backup-and-restore/backup-and-restore-without-repository.spec.js +25 -0
  44. package/e2e-legacy/monitor/{monitor.backup-and-restore.spec.js → backup-and-restore/backup-and-restore.spec.js} +2 -2
  45. package/e2e-legacy/monitor/query-and-updates/queries-and-updates-with-repository.spec.js +39 -0
  46. package/e2e-legacy/monitor/query-and-updates/queries-and-updates-without-repository.spec.js +21 -0
  47. package/e2e-legacy/monitor/{monitor.resources.spec.js → system/monitor.resources.spec.js} +4 -4
  48. package/e2e-legacy/monitor/system/system-monitoring-with-repository.spec.js +32 -0
  49. package/e2e-legacy/monitor/system/system-monitoring-without-repository.spec.js +20 -0
  50. package/e2e-legacy/repository/attach-remote-location.spec.js +2 -5
  51. package/e2e-legacy/repository/ontop-repository.spec.js +3 -12
  52. package/e2e-legacy/repository/repositories.spec.js +29 -40
  53. package/e2e-legacy/resource/resource.spec.js +19 -11
  54. package/e2e-legacy/setup/aclmanagement/acl-management-with-selected repository.spec.js +40 -0
  55. package/e2e-legacy/setup/aclmanagement/acl-management-without-repositories.spec.js +21 -0
  56. package/e2e-legacy/setup/aclmanagement/create-rule.spec.js +1 -2
  57. package/e2e-legacy/setup/aclmanagement/edit-rule.spec.js +1 -2
  58. package/e2e-legacy/setup/aclmanagement/reorder-rules.spec.js +1 -2
  59. package/e2e-legacy/setup/aclmanagement/revert-rules.spec.js +1 -4
  60. package/e2e-legacy/setup/aclmanagement/scopes.spec.js +1 -2
  61. package/e2e-legacy/setup/aclmanagement/update-rules.spec.js +4 -16
  62. package/e2e-legacy/setup/autocomplete/autocomplete-with-repository.spec.js +40 -0
  63. package/e2e-legacy/setup/autocomplete/autocomplete-without-repository.spec.js +27 -0
  64. package/e2e-legacy/setup/{autocomplete.spec.js → autocomplete/autocomplete.spec.js} +3 -6
  65. package/e2e-legacy/setup/cluster/cluster-initial-state-with-cluster.spec.js +34 -0
  66. package/e2e-legacy/setup/cluster/cluster-initial-state-without-cluster.spec.js +25 -0
  67. package/e2e-legacy/setup/connectors/connectors-initial-state-with-selected-repository.spec.js +41 -0
  68. package/e2e-legacy/setup/connectors/connectors-initial-state-without-repositories.spec.js +21 -0
  69. package/e2e-legacy/setup/connectors-lucene.spec.js +1 -2
  70. package/e2e-legacy/setup/jdbc/jdbc-create.spec.js +329 -0
  71. package/e2e-legacy/setup/jdbc/jdbc-with-repository.spec.js +39 -0
  72. package/e2e-legacy/setup/jdbc/jdbc-without-repository.spec.js +27 -0
  73. package/e2e-legacy/setup/jdbc/jdbc.spec.js +161 -0
  74. package/e2e-legacy/setup/namespaces/namespaces-with-repository.spec.js +44 -0
  75. package/e2e-legacy/setup/namespaces/namespaces-without-repository.spec.js +27 -0
  76. package/e2e-legacy/setup/{namespaces.spec.js → namespaces/namespaces.spec.js} +6 -9
  77. package/e2e-legacy/setup/plugins/plugins-with-repository.spec.js +38 -0
  78. package/e2e-legacy/setup/plugins/plugins-without-repository.spec.js +28 -0
  79. package/e2e-legacy/setup/{plugins.spec.js → plugins/plugins.spec.js} +4 -7
  80. package/e2e-legacy/setup/rdf-rank/rdf-rank-with-repository.spec.js +40 -0
  81. package/e2e-legacy/setup/rdf-rank/rdf-rank-without-repository.spec.js +30 -0
  82. package/e2e-legacy/setup/{rdf-rank.spec.js → rdf-rank/rdf-rank.spec.js} +2 -5
  83. package/e2e-legacy/setup/repositories/repositories-view-with-repositories.spec.js +40 -0
  84. package/e2e-legacy/setup/repositories/repositories-view-without-repositories.spec.js +28 -0
  85. package/e2e-legacy/setup/settings/my-settings-initial-state.spec.js +86 -0
  86. package/e2e-legacy/setup/{my-settings.spec.js → settings/my-settings.spec.js} +7 -79
  87. package/e2e-legacy/setup/{sparql-template-create.js → sparql-template/sparql-template-create.js} +11 -23
  88. package/e2e-legacy/setup/sparql-template/sparql-template-with-repository.spec.js +39 -0
  89. package/e2e-legacy/setup/sparql-template/sparql-template-without-repository.spec.js +29 -0
  90. package/e2e-legacy/setup/{sparql-templates.spec.js → sparql-template/sparql-templates.spec.js} +5 -6
  91. package/e2e-legacy/setup/{user-and-access.spec.js → users-and-access/user-and-access.spec.js} +9 -8
  92. package/e2e-legacy/setup/users-and-access/users-and-access-initial-state.spec.js +25 -0
  93. package/e2e-legacy/sparql-editor/internationalization.spec.js +1 -4
  94. package/e2e-legacy/sparql-editor/saved-query/readonly-query.spec.js +7 -13
  95. package/e2e-legacy/sparql-editor/saved-query/share-query.spec.js +3 -5
  96. package/e2e-legacy/sparql-editor/sparql-editor.spec.js +1 -4
  97. package/e2e-legacy/sparql-editor/yasgui-tabs.spec.js +1 -4
  98. package/e2e-legacy/ttyg/agent-list.spec.js +1 -4
  99. package/e2e-legacy/ttyg/create-agent.spec.js +3 -10
  100. package/e2e-legacy/ttyg/ttyg-initial-state-with-configured-api-key.spec.js +46 -0
  101. package/e2e-legacy/ttyg/ttyg-initial-state-with-selected-repository.spec.js +43 -0
  102. package/e2e-legacy/ttyg/ttyg-initial-state-without-repositories.spec.js +21 -0
  103. package/e2e-legacy/ttyg/ttyg-view.spec.js +1 -1
  104. package/fixtures/repositories/get-remote-and-local-repositories.json +34 -0
  105. package/npm-shrinkwrap.json +371 -354
  106. package/package.json +6 -6
  107. package/plugins/index.js +2 -2
  108. package/steps/application-steps.js +1 -1
  109. package/steps/base-steps.js +17 -0
  110. package/steps/cluster/cluster-page-steps.js +12 -2
  111. package/steps/explore/similarity-indexes-steps.js +12 -2
  112. package/steps/graphql/graphql-endpoint-management-steps.js +1 -1
  113. package/steps/guides/guide-steps.js +20 -1
  114. package/steps/home-steps.js +3 -8
  115. package/steps/import/import-steps.js +9 -13
  116. package/steps/license-steps.js +91 -9
  117. package/steps/login-steps.js +3 -3
  118. package/steps/main-menu-steps.js +151 -4
  119. package/steps/monitoring/backup-and-restore-steps.js +9 -3
  120. package/steps/monitoring/queries-and-updates-steps.js +20 -0
  121. package/steps/monitoring/system-monitoring-steps.js +40 -0
  122. package/steps/repository-steps.js +17 -18
  123. package/steps/resource/resource-steps.js +4 -0
  124. package/steps/rest-api-documentation-steps.js +15 -0
  125. package/steps/setup/autocomplete-steps.js +13 -6
  126. package/steps/setup/connectors-steps.js +19 -0
  127. package/steps/setup/jdbc-steps.js +18 -4
  128. package/steps/setup/namespace-steps.js +8 -5
  129. package/steps/setup/plugins-steps.js +11 -4
  130. package/steps/setup/rdf-rank-steps.js +22 -4
  131. package/steps/setup/settings-steps.js +82 -1
  132. package/steps/setup/sparql-templates-steps.js +19 -1
  133. package/steps/setup/user-and-access-steps.js +4 -0
  134. package/steps/system-information-steps.js +70 -0
  135. package/steps/ttyg/ttyg-view-steps.js +20 -2
  136. package/stubs/license-stubs.js +51 -0
  137. package/support/commands.js +1 -1
  138. package/e2e-legacy/home/language-selector.spec.js +0 -22
  139. package/e2e-legacy/monitor/monitor.queries.spec.js +0 -34
  140. /package/e2e-legacy/explore/class-hierarchy/{class-hierarchy-with-selected-repository-without-class-hierarchy.js → class-hierarchy-with-selected-repository-without-class-hierarchy.spec.js} +0 -0
  141. /package/e2e-legacy/explore/class-hierarchy/{class-hierarchy-with-selected-repository.js → class-hierarchy-with-selected-repository.spec.js} +0 -0
  142. /package/e2e-legacy/explore/class-hierarchy/{class-hierarchy-without-selected-repository.js → class-hierarchy-without-selected-repository.spec.js} +0 -0
  143. /package/e2e-legacy/help/{system-information.spec.js → system-information/system-information.spec.js} +0 -0
@@ -6,10 +6,7 @@ import {ClusterConfigurationSteps} from "../../../steps/cluster/cluster-configur
6
6
  import {ModalDialogSteps} from "../../../steps/modal-dialog-steps";
7
7
  import {ApplicationSteps} from "../../../steps/application-steps";
8
8
 
9
- /**
10
- * TODO: Fix me. Broken due to migration (Error: unknown)
11
- */
12
- describe.skip('Cluster configuration', () => {
9
+ describe('Cluster configuration', () => {
13
10
  let repositoryId;
14
11
 
15
12
  beforeEach(() => {
@@ -18,10 +18,7 @@ describe('Cluster configuration', () => {
18
18
  RemoteLocationStubs.stubRemoteLocationStatusInCluster();
19
19
  });
20
20
 
21
- /**
22
- * TODO: Fix me. Broken due to migration (Error: unknown)
23
- */
24
- it.skip('should display the nodes list with correct node information in the modal', () => {
21
+ it('should display the nodes list with correct node information in the modal', () => {
25
22
  // Given I have opened the cluster management page
26
23
  ClusterPageSteps.visit();
27
24
  // When I click on edit properties and open Nodes tab
@@ -12,10 +12,7 @@ describe('Cluster configuration', () => {
12
12
  GlobalOperationsStatusesStub.stubNoOperationsResponse(repositoryId);
13
13
  });
14
14
 
15
- /**
16
- * TODO: Broken due to migration (Error: unknown)
17
- */
18
- it.skip('Should display cluster configuration', () => {
15
+ it('Should display cluster configuration', () => {
19
16
  // Given there is an existing cluster created
20
17
  ClusterStubs.stubClusterConfig();
21
18
  ClusterStubs.stubClusterGroupStatus();
@@ -358,6 +358,50 @@ describe('Cluster management', () => {
358
358
  ApplicationSteps.getSuccessNotifications().contains('Cluster updated successfully');
359
359
  });
360
360
 
361
+ it('should not replace node after replace action is canceled and a new node is added', () => {
362
+ const clusterLocations = ['http://pc-desktop:7200', 'http://pc-desktop:7201', 'http://pc-desktop:7202'];
363
+ ClusterStubs.stubClusterConfigByList(clusterLocations);
364
+ ClusterStubs.stubClusterGroupStatus();
365
+ ClusterStubs.stubClusterNodeStatus();
366
+ RemoteLocationStubs.stubGetRemoteLocations(3);
367
+ RemoteLocationStubs.stubRemoteLocationFilter();
368
+ RemoteLocationStubs.stubRemoteLocationStatusInCluster();
369
+ RemoteLocationStubs.stubRemoteLocationCheckByAddress([
370
+ {uri: 'pc-desktop:7200', rpc: 'pc-desktop:7300'},
371
+ {uri: 'pc-desktop:7201', rpc: 'pc-desktop:7301'},
372
+ {uri: 'pc-desktop:7202', rpc: 'pc-desktop:7302'}
373
+ ]);
374
+
375
+ // Given I have opened the cluster management page
376
+ ClusterPageSteps.visit();
377
+ // When I click on update cluster
378
+ ClusterPageSteps.updateCluster();
379
+ ClusterNodesConfigurationSteps.getClusterNodesConfigurationModal().should('be.visible');
380
+ // When I replace a node
381
+ ClusterNodesConfigurationSteps.clickReplaceNodeButtonByEndpoint('http://pc-desktop:7201');
382
+ // I expect to see replacing confirmation dialog
383
+ ModalDialogSteps.getDialogBody().should('contain', 'Are you sure you want to change the location?');
384
+ // When I confirm
385
+ ModalDialogSteps.clickOnConfirmButton();
386
+ // Then I should see the edit node row
387
+ ClusterNodesConfigurationSteps.getEditNodeRow().should('be.visible');
388
+ // Then I cancel the action
389
+ ClusterNodesConfigurationSteps.clickCancelNodeButton();
390
+ // Then I add a new node
391
+ ClusterNodesConfigurationSteps.clickAddNodeButton();
392
+ const newNodeEndpoint = 'http://pc-desktop:7233';
393
+ ClusterNodesConfigurationSteps.enterNodeEndpoint(newNodeEndpoint);
394
+ // And I save the new node
395
+ RemoteLocationStubs.stubAddRemoteLocation();
396
+ ClusterNodesConfigurationSteps.clickSaveNodeButton();
397
+ // Then the originally replaced node (canceled action) should not be replaced
398
+ ClusterNodesConfigurationSteps.getNodeStatusByEndpoint('http://pc-desktop:7201').should('eq', '');
399
+ // And the new node should be added
400
+ ClusterNodesConfigurationSteps.getNodeStatusByEndpoint('http://pc-desktop:7233').should('eq', 'Node will be added');
401
+ ClusterStubs.stubClusterGroupStatusAfterAdd();
402
+ ClusterNodesConfigurationSteps.clickOkButton();
403
+ });
404
+
361
405
  it('Should be able to open a create cluster dialog', () => {
362
406
  ClusterStubs.stubNoClusterNodeStatus();
363
407
  ClusterStubs.stubNoClusterGroupStatus();
@@ -5,8 +5,7 @@ const CLASS_COUNT_OF_NEWS_GRAPH = 35;
5
5
  const FILE_TO_IMPORT = 'wine.rdf';
6
6
  const CLASS_HIERARCHY = 'class hierarchy';
7
7
 
8
- // TODO: Fix me. Broken due to migration (Error: beforeEach)
9
- describe.skip('Class hierarchy screen validation', () => {
8
+ describe('Class hierarchy screen validation', () => {
10
9
  let repositoryId;
11
10
 
12
11
  beforeEach(() => {
@@ -6,8 +6,7 @@ const EXPORT_GRAPHS_TABLE_ID = '#export-graphs';
6
6
  const ROWS_PER_PAGE_20 = '1';
7
7
  const ROWS_PER_PAGE_50 = '2';
8
8
 
9
- // TODO: Fix me. Broken due to migration (Error: beforeEach)
10
- describe.skip('Graphs overview screen validation', () => {
9
+ describe('Graphs overview screen validation', () => {
11
10
 
12
11
  let repositoryId;
13
12
 
@@ -0,0 +1,38 @@
1
+ import HomeSteps from "../../../steps/home-steps";
2
+ import {MainMenuSteps} from "../../../steps/main-menu-steps";
3
+ import {SimilarityIndexesSteps} from "../../../steps/explore/similarity-indexes-steps";
4
+
5
+ describe('Similarity indexes with selected repository', () => {
6
+ let repositoryId;
7
+
8
+ beforeEach(() => {
9
+ repositoryId = 'similarity-index-init-' + Date.now();
10
+ cy.createRepository({id: repositoryId});
11
+ cy.presetRepository(repositoryId);
12
+ });
13
+
14
+ afterEach(() => {
15
+ cy.deleteRepository(repositoryId);
16
+ });
17
+
18
+ it('Should display the correct initial state when navigating via URL', () => {
19
+ // Given, I visit the Similarity indexes page via URL with a repository selected
20
+ SimilarityIndexesSteps.visit();
21
+ // Then,
22
+ verifyInitialStateWithSelectedRepository();
23
+ });
24
+
25
+ it('Should display the correct initial state when navigating via the navigation bar', () => {
26
+ // Given, I visit the Similarity indexes page via the navigation menu with a repository selected
27
+ HomeSteps.visit();
28
+ MainMenuSteps.clickOnSimilarity();
29
+ // Then,
30
+ verifyInitialStateWithSelectedRepository();
31
+ });
32
+
33
+ const verifyInitialStateWithSelectedRepository = () => {
34
+
35
+ SimilarityIndexesSteps.getExistingSimilarityIndexes().contains('Select one of your existing indexes to search in it');
36
+ SimilarityIndexesSteps.getCreateButton().should('be.visible');
37
+ };
38
+ })
@@ -0,0 +1,21 @@
1
+ import {ErrorSteps} from "../../../steps/error-steps";
2
+ import HomeSteps from "../../../steps/home-steps";
3
+ import {MainMenuSteps} from "../../../steps/main-menu-steps";
4
+ import {SimilarityIndexesSteps} from "../../../steps/explore/similarity-indexes-steps";
5
+
6
+ describe('Similarity indexes without selected repository', () => {
7
+ it('Should display the correct initial state when navigating via URL', () => {
8
+ // Given, I visit the Similarity indexes page via URL without a repository selected
9
+ SimilarityIndexesSteps.visit();
10
+ // Then,
11
+ ErrorSteps.verifyNoConnectedRepoMessage();
12
+ });
13
+
14
+ it('Should display the correct initial state when navigating via the navigation menu', () => {
15
+ // Given, I visit the Similarity indexes page via the navigation menu without a repository selected
16
+ HomeSteps.visit();
17
+ MainMenuSteps.clickOnSimilarity();
18
+ // Then,
19
+ ErrorSteps.verifyNoConnectedRepoMessage();
20
+ });
21
+ })
@@ -9,8 +9,7 @@ const FILE_TO_IMPORT = 'wine.rdf';
9
9
  const QUERY_START = `# CONSTRUCT or DESCRIBE query. The results will be rendered visually as a graph of triples.\nCONSTRUCT WHERE {\n\t?s ?p ?o\n} LIMIT 10`;
10
10
  const QUERY_EXPAND_NODE = `# Note that ?node is the node you clicked and must be used in the query\nPREFIX rank: <http://www.ontotext.com/owlim/RDFRank#>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\n\nCONSTRUCT {\n # The triples that will be added to the visual graph\n ?node ?edge ?newNodeLTR .\n ?newNodeRTL ?edge ?node .\n} WHERE {\n {\n # Left to right relations (starting IRI is the subject)\n ?node ?edge ?newNodeLTR .\n\n # Select only IRIs\n FILTER(isIRI(?newNodeLTR) || rdf:isTriple(?newNodeLTR))\n } UNION {\n # Right to left relations (starting IRI is the object)\n ?newNodeRTL ?edge ?node .\n\n # Select only IRIs\n FILTER(isIRI(?newNodeRTL) || rdf:isTriple(?newNodeRTL))\n }\n FILTER(isIRI(?node) || rdf:isTriple(?node))\n} ORDER BY ?edge`;
11
11
 
12
- // TODO: Fix me. Broken due to migration (Error unknown)
13
- describe.skip('Graphs config', () => {
12
+ describe('Graphs config', () => {
14
13
 
15
14
  let repositoryId = 'graphRepo' + Date.now();
16
15
  let graphConfigName = 'graph-config' + Date.now();
@@ -37,10 +36,7 @@ describe.skip('Graphs config', () => {
37
36
  cy.deleteGraphConfig(graphConfigName);
38
37
  });
39
38
 
40
- /**
41
- * TODO: Fix me. Broken due to migration (Error: unknown)
42
- */
43
- it.skip('Should be able to switch between wizard tabs using the previous-next buttons', () => {
39
+ it('Should be able to switch between wizard tabs using the previous-next buttons', () => {
44
40
  // Given I have started a create config wizard
45
41
  startCreateConfigWizard();
46
42
  // Then I expect to see the first wizard tab
@@ -221,10 +217,7 @@ describe.skip('Graphs config', () => {
221
217
  VisualGraphSteps.getGraphConfigSearchPanelName().should('contain', graphConfigName);
222
218
  });
223
219
 
224
- /**
225
- * TODO: Fix me. Broken due to migration (Error: unknown)
226
- */
227
- it.skip('Should create graph config with fixed node', () => {
220
+ it('Should create graph config with fixed node', () => {
228
221
  cy.enableAutocomplete(repositoryId);
229
222
  // Given I have started a create config wizard
230
223
  startCreateConfigWizard();
@@ -306,10 +299,7 @@ describe.skip('Graphs config', () => {
306
299
  VisualGraphSteps.getGraphVisualizationPane().should('be.visible');
307
300
  });
308
301
 
309
- /**
310
- * TODO: Fix me. Broken due to migration (Error: unknown)
311
- */
312
- it.skip('Should be able to update existing graph config', () => {
302
+ it('Should be able to update existing graph config', () => {
313
303
  // Given I have created a graph config with start query
314
304
  startCreateConfigWizard();
315
305
  VisualGraphSteps.typeGraphConfigName(graphConfigName);
@@ -385,10 +375,7 @@ describe.skip('Graphs config', () => {
385
375
  cy.url().should('eq', Cypress.config('baseUrl') + '/graphs-visualizations');
386
376
  });
387
377
 
388
- /**
389
- * TODO: Fix me. Broken due to migration (Changes in main menu)
390
- */
391
- it.skip('Should prevent leaving with confirmation when expand query is changed', () => {
378
+ it('Should prevent leaving with confirmation when expand query is changed', () => {
392
379
  // Given I have created a graph config with start query
393
380
  startCreateConfigWizard();
394
381
  VisualGraphSteps.typeGraphConfigName(graphConfigName);
@@ -6,8 +6,7 @@ import {AutocompleteStubs} from "../../../stubs/autocomplete/autocomplete-stubs"
6
6
  const FILE_TO_IMPORT = 'wine.rdf';
7
7
  const VALID_RESOURCE = 'USRegion';
8
8
 
9
- // TODO: Fix me. Broken due to migration (Error: unknown)
10
- describe.skip('Visual graph screen validation', () => {
9
+ describe('Visual graph screen validation', () => {
11
10
 
12
11
  let repositoryId;
13
12
 
@@ -1,7 +1,7 @@
1
1
  import {GraphqlEndpointManagementSteps} from "../../steps/graphql/graphql-endpoint-management-steps";
2
2
  import {ApplicationSteps} from "../../steps/application-steps";
3
3
 
4
- describe.skip('GraphQL: activate and deactivate endpoint', () => {
4
+ describe('GraphQL: activate and deactivate endpoint', () => {
5
5
  let repositoryId;
6
6
 
7
7
  beforeEach(() => {
@@ -4,7 +4,7 @@ import {CreateGraphqlEndpointSteps} from "../../steps/graphql/create-graphql-end
4
4
  import {RepositoriesStubs} from "../../stubs/repositories/repositories-stubs";
5
5
  import {ModalDialogSteps} from "../../steps/modal-dialog-steps";
6
6
 
7
- describe.skip('Graphql: create endpoint', () => {
7
+ describe('Graphql: create endpoint', () => {
8
8
  let repositoryId;
9
9
 
10
10
  beforeEach(() => {
@@ -245,7 +245,6 @@ describe.skip('Graphql: create endpoint', () => {
245
245
  // Then I should be on the generate endpoint step
246
246
  CreateGraphqlEndpointSteps.getActiveStep().should('contain', 'Create');
247
247
  CreateGraphqlEndpointSteps.getGenerateEndpointView().should('be.visible');
248
-
249
248
  });
250
249
 
251
250
  it('should be able to cancel the endpoint creation wizard', () => {
@@ -277,5 +276,4 @@ describe.skip('Graphql: create endpoint', () => {
277
276
  ModalDialogSteps.getDialog().should('not.exist');
278
277
  cy.url().should('include', '/graphql/endpoints');
279
278
  });
280
-
281
279
  });
@@ -2,7 +2,7 @@ import {GraphqlEndpointManagementSteps} from "../../steps/graphql/graphql-endpoi
2
2
  import {ModalDialogSteps} from "../../steps/modal-dialog-steps";
3
3
  import {ApplicationSteps} from "../../steps/application-steps";
4
4
 
5
- describe.skip('Graphql: delete endpoint', () => {
5
+ describe('Graphql: delete endpoint', () => {
6
6
  let repositoryId;
7
7
 
8
8
  beforeEach(() => {
@@ -3,7 +3,7 @@ import {GraphqlEndpointManagementSteps} from "../../steps/graphql/graphql-endpoi
3
3
  import {EditGraphqlEndpointSteps} from "../../steps/graphql/edit-graphql-endpoint-steps";
4
4
  import {ApplicationSteps} from "../../steps/application-steps";
5
5
 
6
- describe.skip('Graphql: edit endpoint settings', () => {
6
+ describe('Graphql: edit endpoint settings', () => {
7
7
  let repositoryId;
8
8
 
9
9
  beforeEach(() => {
@@ -1,7 +1,7 @@
1
1
  import {GraphqlEndpointManagementSteps} from "../../steps/graphql/graphql-endpoint-management-steps";
2
2
  import {GraphqlStubs} from "../../stubs/graphql/graphql-stubs";
3
3
 
4
- describe.skip('Graphql: export endpoint definition', () => {
4
+ describe('Graphql: export endpoint definition', () => {
5
5
  let repositoryId;
6
6
 
7
7
  beforeEach(() => {
@@ -1,7 +1,7 @@
1
1
  import {GraphqlEndpointManagementSteps} from "../../steps/graphql/graphql-endpoint-management-steps";
2
2
  import {ApplicationSteps} from "../../steps/application-steps";
3
3
 
4
- describe.skip('GraphQL endpoints filtering', () => {
4
+ describe('GraphQL endpoints filtering', () => {
5
5
  let repositoryId;
6
6
 
7
7
  beforeEach(() => {
@@ -17,7 +17,10 @@ describe.skip('GraphQL endpoints filtering', () => {
17
17
  cy.deleteRepository(repositoryId);
18
18
  });
19
19
 
20
- it('should be able to filter endpoints', () => {
20
+ /**
21
+ * TODO Fixme broken due migration (Error unknown)
22
+ */
23
+ it.skip('should be able to filter endpoints', () => {
21
24
  // Given I have a repository with active GraphQL endpoints
22
25
  // When I visit the endpoint management view
23
26
  GraphqlEndpointManagementSteps.visit();
@@ -45,7 +48,7 @@ describe.skip('GraphQL endpoints filtering', () => {
45
48
  GraphqlEndpointManagementSteps.getEndpointsInfo().should('have.length', 3);
46
49
  });
47
50
 
48
- it.only('should render no results banner when all endpoints are filtered', () => {
51
+ it('should render no results banner when all endpoints are filtered', () => {
49
52
  // Given I have a repository with active GraphQL endpoints
50
53
  // When I visit the endpoint management view
51
54
  GraphqlEndpointManagementSteps.visit();
@@ -3,7 +3,7 @@ import {GraphqlStubs} from "../../stubs/graphql/graphql-stubs";
3
3
  import {GraphqlPlaygroundSteps} from "../../steps/graphql/graphql-playground-steps";
4
4
  import {ApplicationSteps} from "../../steps/application-steps";
5
5
 
6
- describe.skip('GraphQL endpoints management', () => {
6
+ describe('GraphQL endpoints management', () => {
7
7
  let repositoryId;
8
8
 
9
9
  beforeEach(() => {
@@ -3,7 +3,7 @@ import {GraphiqlPlaygroundSteps} from "../../steps/graphql/graphiql-playground-s
3
3
  import {GraphiQLEditorToolsSteps} from "../../steps/graphql/graphiql-editor-tools-steps";
4
4
  import {LanguageSelectorSteps} from "../../steps/language-selector-steps";
5
5
 
6
- describe.skip('GraphQL Playground', () => {
6
+ describe('GraphQL Playground', () => {
7
7
  let repositoryId;
8
8
 
9
9
  beforeEach(() => {
@@ -3,7 +3,7 @@ import {ImportEndpointDefinitionModalSteps} from "../../steps/graphql/import-end
3
3
  import {GenerationReportModalSteps} from "../../steps/graphql/generation-report-modal-steps";
4
4
  import {ApplicationSteps} from "../../steps/application-steps";
5
5
 
6
- describe.skip('Graphql: import endpoint definitions', () => {
6
+ describe('Graphql: import endpoint definitions', () => {
7
7
  let repositoryId;
8
8
  const swapiDefinitionPath = 'graphql/soml/swapi-schema.yaml';
9
9
  const swapiPlanetsDefinitionPath = 'graphql/soml/swapi-schema-planets.yaml';
@@ -86,7 +86,10 @@ describe.skip('Graphql: import endpoint definitions', () => {
86
86
  ]);
87
87
  });
88
88
 
89
- it('should be able to import broken endpoint definition', () => {
89
+ /**
90
+ * TODO Fixme broken due migration (Error unknown)
91
+ */
92
+ it.skip('should be able to import broken endpoint definition', () => {
90
93
  visitAndOpenImportModal();
91
94
  // When I select the file to upload
92
95
  ImportEndpointDefinitionModalSteps.selectFile(brokenSwapiDefinitionPath);
@@ -2,7 +2,7 @@ import {GraphqlEndpointManagementSteps} from "../../steps/graphql/graphql-endpoi
2
2
  import {ApplicationSteps} from "../../steps/application-steps";
3
3
  import {GraphqlPlaygroundSteps} from "../../steps/graphql/graphql-playground-steps";
4
4
 
5
- describe.skip('Graphql: set default endpoint', () => {
5
+ describe('Graphql: set default endpoint', () => {
6
6
  let repositoryId;
7
7
 
8
8
  beforeEach(() => {
@@ -0,0 +1,32 @@
1
+ import HomeSteps from "../../../steps/home-steps";
2
+ import {MainMenuSteps} from "../../../steps/main-menu-steps";
3
+ import {GuideSteps} from "../../../steps/guides/guide-steps";
4
+
5
+ describe('Interactive guides with selected repository', () => {
6
+ let repositoryId;
7
+
8
+ beforeEach(() => {
9
+ repositoryId = 'interactive-guides-init-' + Date.now();
10
+ cy.createRepository({id: repositoryId});
11
+ cy.presetRepository(repositoryId);
12
+ });
13
+
14
+ afterEach(() => {
15
+ cy.deleteRepository(repositoryId);
16
+ });
17
+
18
+ it('Should display the correct initial state when navigating via URL', () => {
19
+ // Given, I visit the Interactive guides page via URL with a repository selected
20
+ GuideSteps.visit();
21
+ // Then,
22
+ GuideSteps.verifyInitialState();
23
+ });
24
+
25
+ it('Should display the correct initial state when navigating via the navigation bar', () => {
26
+ // Given, I visit the Interactive guides page via the navigation menu with a repository selected
27
+ HomeSteps.visit();
28
+ MainMenuSteps.clickOnInteractiveGuides();
29
+ // Then,
30
+ GuideSteps.verifyInitialState();
31
+ });
32
+ })
@@ -0,0 +1,20 @@
1
+ import HomeSteps from "../../../steps/home-steps";
2
+ import {MainMenuSteps} from "../../../steps/main-menu-steps";
3
+ import {GuideSteps} from "../../../steps/guides/guide-steps";
4
+
5
+ describe('Interactive guides without selected repository', () => {
6
+ it('Should display the correct initial state when navigating via URL', () => {
7
+ // Given, I visit the Interactive guides page via URL without a repository selected
8
+ GuideSteps.visit();
9
+ // Then,
10
+ GuideSteps.verifyInitialState();
11
+ });
12
+
13
+ it('Should display the correct initial state when navigating via the navigation menu', () => {
14
+ // Given, I visit the Interactive guides page via the navigation menu without a repository selected
15
+ HomeSteps.visit();
16
+ MainMenuSteps.clickOnInteractiveGuides();
17
+ // Then,
18
+ GuideSteps.verifyInitialState();
19
+ });
20
+ })
@@ -1,5 +1,5 @@
1
- import {GuideSteps} from "../../steps/guides/guide-steps";
2
- import {MoviesGuideSteps} from "../../steps/guides/movies-guide-steps";
1
+ import {GuideSteps} from "../../../steps/guides/guide-steps";
2
+ import {MoviesGuideSteps} from "../../../steps/guides/movies-guide-steps";
3
3
 
4
4
  const MOVIES_FILE_FOR_IMPORT = 'movies.ttl';
5
5
 
@@ -1,5 +1,5 @@
1
- import {GuideSteps} from "../../steps/guides/guide-steps";
2
- import {StarWarsGuideSteps} from "../../steps/guides/star-wars-guide-steps";
1
+ import {GuideSteps} from "../../../steps/guides/guide-steps";
2
+ import {StarWarsGuideSteps} from "../../../steps/guides/star-wars-guide-steps";
3
3
 
4
4
  const STAR_WARS_FILE_FOR_IMPORT = 'starwars.ttl';
5
5
 
@@ -0,0 +1,32 @@
1
+ import HomeSteps from "../../../steps/home-steps";
2
+ import {MainMenuSteps} from "../../../steps/main-menu-steps";
3
+ import {RestApiDocumentationSteps} from "../../../steps/rest-api-documentation-steps";
4
+
5
+ describe('REST API Documentation with selected repository', () => {
6
+ let repositoryId;
7
+
8
+ beforeEach(() => {
9
+ repositoryId = 'rest-api-documentation-init-' + Date.now();
10
+ cy.createRepository({id: repositoryId});
11
+ cy.presetRepository(repositoryId);
12
+ });
13
+
14
+ afterEach(() => {
15
+ cy.deleteRepository(repositoryId);
16
+ });
17
+
18
+ it('Should display the correct initial state when navigating via URL', () => {
19
+ // Given, I visit the REST API Documentation page via URL with a repository selected
20
+ RestApiDocumentationSteps.visit();
21
+ // Then,
22
+ RestApiDocumentationSteps.verifyInitialState();
23
+ });
24
+
25
+ it('Should display the correct initial state when navigating via the navigation bar', () => {
26
+ // Given, I visit the REST API Documentation page via the navigation menu with a repository selected
27
+ HomeSteps.visit();
28
+ MainMenuSteps.clickOnRestApiDocumentation();
29
+ // Then,
30
+ RestApiDocumentationSteps.verifyInitialState();
31
+ });
32
+ })
@@ -0,0 +1,20 @@
1
+ import HomeSteps from "../../../steps/home-steps";
2
+ import {MainMenuSteps} from "../../../steps/main-menu-steps";
3
+ import {RestApiDocumentationSteps} from "../../../steps/rest-api-documentation-steps";
4
+
5
+ describe('REST API Documentation without selected repository', () => {
6
+ it('Should display the correct initial state when navigating via URL', () => {
7
+ // Given, I visit the REST API Documentation page via URL without a repository selected
8
+ RestApiDocumentationSteps.visit();
9
+ // Then,
10
+ RestApiDocumentationSteps.verifyInitialState();
11
+ });
12
+
13
+ it('Should display the correct initial state when navigating via the navigation menu', () => {
14
+ // Given, I visit the REST API Documentation page via the navigation menu without a repository selected
15
+ HomeSteps.visit();
16
+ MainMenuSteps.clickOnRestApiDocumentation();
17
+ // Then,
18
+ RestApiDocumentationSteps.verifyInitialState();
19
+ });
20
+ })
@@ -0,0 +1,32 @@
1
+ import HomeSteps from "../../../steps/home-steps";
2
+ import {MainMenuSteps} from "../../../steps/main-menu-steps";
3
+ import {SystemInformationSteps} from "../../../steps/system-information-steps";
4
+
5
+ describe('System information with selected repository', () => {
6
+ let repositoryId;
7
+
8
+ beforeEach(() => {
9
+ repositoryId = 'system-information-init-' + Date.now();
10
+ cy.createRepository({id: repositoryId});
11
+ cy.presetRepository(repositoryId);
12
+ });
13
+
14
+ afterEach(() => {
15
+ cy.deleteRepository(repositoryId);
16
+ });
17
+
18
+ it('Should display the correct initial state when navigating via URL', () => {
19
+ // Given, I visit the System information page via URL with a repository selected
20
+ SystemInformationSteps.visit();
21
+ // Then,
22
+ SystemInformationSteps.verifyInitialState();
23
+ });
24
+
25
+ it('Should display the correct initial state when navigating via the navigation bar', () => {
26
+ // Given, I visit the System information page via the navigation menu with a repository selected
27
+ HomeSteps.visit();
28
+ MainMenuSteps.clickOnSystemInformation();
29
+ // Then,
30
+ SystemInformationSteps.verifyInitialState();
31
+ });
32
+ })
@@ -0,0 +1,20 @@
1
+ import HomeSteps from "../../../steps/home-steps";
2
+ import {MainMenuSteps} from "../../../steps/main-menu-steps";
3
+ import {SystemInformationSteps} from "../../../steps/system-information-steps";
4
+
5
+ describe('System information without selected repository', () => {
6
+ it('Should display the correct initial state when navigating via URL', () => {
7
+ // Given, I visit the System information page via URL without a repository selected
8
+ SystemInformationSteps.visit();
9
+ // Then,
10
+ SystemInformationSteps.verifyInitialState();
11
+ });
12
+
13
+ it('Should display the correct initial state when navigating via the navigation menu', () => {
14
+ // Given, I visit the System information page via the navigation menu without a repository selected
15
+ HomeSteps.visit();
16
+ MainMenuSteps.clickOnSystemInformation();
17
+ // Then,
18
+ SystemInformationSteps.verifyInitialState();
19
+ });
20
+ })
@@ -7,10 +7,7 @@ describe('Create repository', () => {
7
7
  HomeSteps.visitAndWaitLoader();
8
8
  });
9
9
 
10
- /**
11
- * TODO: Fix me. Broken due to migration (Repository selector is changed)
12
- */
13
- it.skip('Test create and select new repository via home page', () => {
10
+ it('Test create and select new repository via home page', () => {
14
11
  HomeSteps.verifyCreateRepositoryLink();
15
12
 
16
13
  const repositoryId = HomeSteps.createRepo();
@@ -24,8 +21,7 @@ describe('Create repository', () => {
24
21
  cy.deleteRepository(repositoryId);
25
22
  });
26
23
 
27
- // TODO: Fix me. Broken due to migration (Error: unknown)
28
- it.skip('Test saved SPARQL queries links on home page and confirm dialog appearance', () => {
24
+ it('Test saved SPARQL queries links on home page and confirm dialog appearance', () => {
29
25
  const repositoryId = HomeSteps.createRepo();
30
26
  HomeSteps.selectRepo(repositoryId);
31
27
 
@@ -1,10 +1,7 @@
1
1
  import HomeSteps from '../../steps/home-steps';
2
2
  import {LanguageSelectorSteps} from "../../steps/language-selector-steps";
3
3
 
4
- /**
5
- * TODO: Fix me. Broken due to migration (The language selector is changed)
6
- */
7
- describe.skip('Home screen language validation', () => {
4
+ describe('Home screen language validation', () => {
8
5
  let repositoryId;
9
6
 
10
7
  beforeEach(() => {
@@ -1,7 +1,6 @@
1
1
  import HomeSteps from '../../steps/home-steps';
2
2
 
3
- // TODO: Fix me. Broken due to migration (Error unknown)
4
- describe.skip('View resource autocomplete', () => {
3
+ describe('View resource autocomplete', () => {
5
4
 
6
5
  const FOAT_SNIPPET = '@base <http://example.org/> .\n' +
7
6
  '@prefix foaf: <http://xmlns.com/foaf/0.1/> .\n' +
@@ -14,10 +13,7 @@ describe.skip('View resource autocomplete', () => {
14
13
  cy.viewport(1280, 1000);
15
14
  });
16
15
 
17
- /**
18
- * TODO: Fix me. Broken due to migration (The issue GDB-10501 not implemented)
19
- */
20
- it.skip('Test homepage autocomplete when it is enabled', () => {
16
+ it('Test homepage autocomplete when it is enabled', () => {
21
17
  const repositoryId = HomeSteps.createRepo();
22
18
  HomeSteps.selectRepo(repositoryId);
23
19