graphdb-workbench-tests 2.6.4 → 2.7.0-RC1

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 (73) hide show
  1. package/Dockerfile +3 -1
  2. package/fixtures/cluster/3-nodes-cluster-group-status-receiving-snapshot.json +7 -7
  3. package/fixtures/graphdb-import/0007-import-file.jsonld +27 -0
  4. package/fixtures/graphdb-import/more-files/jsonld-file.jsonld +8 -0
  5. package/fixtures/graphdb-import/more-files/rdfxml.rdf +15 -0
  6. package/fixtures/graphdb-import/more-files-with-error/import-resource-with-correct-data.jsonld +8 -0
  7. package/fixtures/graphdb-import/more-files-with-error/import-resource-with-incorrect-data.rdf +13 -0
  8. package/fixtures/graphdb-import/more-files-with-error/import-resource-with-long-error.rdf +13 -0
  9. package/fixtures/graphdb-import/sample-jsonld.json +8 -0
  10. package/fixtures/locale-en.json +251 -111
  11. package/fixtures/url-import-template.json +1 -0
  12. package/integration/cluster/cluster-legend.spec.js +36 -0
  13. package/integration/cluster/cluster-management.spec.js +4 -92
  14. package/integration/cluster/cluster-states.spec.js +117 -0
  15. package/integration/explore/graphs.overview.spec.js +62 -0
  16. package/integration/explore/similarity.spec.js +20 -2
  17. package/integration/guides/movies-interactive-guide.spec.js +1 -1
  18. package/integration/guides/star-wars-interactive-guide.js +1 -0
  19. package/integration/import/import-server-files-batch-operations.spec.js +121 -0
  20. package/integration/import/import-server-files.spec.js +145 -0
  21. package/integration/import/import-user-data-file-upload.spec.js +194 -0
  22. package/integration/import/import-user-data-settings-dialog.spec.js +70 -0
  23. package/integration/import/import-user-data-text-snippet.spec.js +246 -0
  24. package/integration/import/import-user-data-url.spec.js +70 -0
  25. package/integration/import/import-user-data.spec.js +119 -0
  26. package/integration/import/import-view.spec.js +108 -0
  27. package/integration/monitor/global-operation-statuses-component.spec.js +2 -2
  28. package/integration/repository/repositories.spec.js +20 -17
  29. package/integration/resource/resource.spec.js +40 -0
  30. package/integration/setup/aclmanagement/create-rule.spec.js +15 -0
  31. package/integration/setup/sparql-template-create.js +4 -4
  32. package/integration/setup/user-and-access.spec.js +98 -138
  33. package/integration/sparql-editor/internationalization.spec.js +62 -12
  34. package/integration/sparql-editor/yasgui-tabs.spec.js +15 -1
  35. package/integration/sparql-editor/yasr/download-as.spec.js +71 -0
  36. package/integration-flaky/import/import-server-files-operations.spec.js +142 -0
  37. package/integration-flaky/import/import-user-data-batch-operations.spec.js +185 -0
  38. package/integration-flaky/import/import.server.files.spec.js +3 -2
  39. package/integration-flaky/setup/sparql-template-create.js +1 -1
  40. package/integration-flaky/sparql-editor/actions/share-query.spec.js +1 -1
  41. package/npm-shrinkwrap.json +3198 -0
  42. package/package.json +10 -11
  43. package/steps/cluster/cluster-configuration-steps.js +17 -0
  44. package/steps/cluster/cluster-page-steps.js +20 -8
  45. package/steps/cluster/cluster-view-steps.js +6 -2
  46. package/steps/explore/graphs-overview-steps.js +32 -0
  47. package/steps/explore/similarity-indexes-steps.js +26 -0
  48. package/steps/guides/guide-steps.js +5 -19
  49. package/steps/home-steps.js +4 -0
  50. package/steps/import/file-overwrite-dialog-steps.js +16 -0
  51. package/steps/import/import-resource-message-dialog.js +46 -0
  52. package/steps/import/import-server-files-steps.js +36 -0
  53. package/steps/import/import-settings-dialog-steps.js +60 -0
  54. package/steps/import/import-steps.js +463 -0
  55. package/steps/import/import-user-data-steps.js +167 -0
  56. package/steps/json-ld-modal-steps.js +41 -0
  57. package/steps/language-selector-steps.js +12 -0
  58. package/steps/main-menu-steps.js +4 -0
  59. package/steps/resource/resource-steps.js +7 -2
  60. package/steps/setup/acl-management-steps.js +4 -0
  61. package/steps/setup/user-and-access-steps.js +189 -0
  62. package/steps/sparql-steps.js +1 -1
  63. package/steps/yasgui/yasgui-steps.js +6 -0
  64. package/steps/yasgui/yasr-steps.js +5 -0
  65. package/stubs/yasgui/query-stubs.js +4 -0
  66. package/support/commands.js +23 -0
  67. package/support/import-commands.js +10 -0
  68. package/support/sparql-commands.js +1 -1
  69. package/bin/graphdb-workbench-cypress +0 -29
  70. package/integration/help/rest-api.spec.js +0 -121
  71. package/integration/import/import.server.files.spec.js +0 -69
  72. package/integration/import/import.user.data.spec.js +0 -338
  73. package/steps/import-steps.js +0 -277
package/Dockerfile CHANGED
@@ -1,9 +1,11 @@
1
- FROM cypress/base:16.18.1
1
+ FROM cypress/base:20.11.0
2
2
 
3
3
  COPY . /workbench/tests-cypress/
4
4
 
5
5
  WORKDIR /workbench/tests-cypress/
6
6
 
7
+ ENV NO_COLOR=1
8
+
7
9
  RUN npm ci
8
10
 
9
11
  CMD ["npm", "test"]
@@ -8,7 +8,7 @@
8
8
  "lastLogIndex": 0,
9
9
  "endpoint": "http://pc-desktop:7200",
10
10
  "recoveryStatus": {
11
- "affectedNodes": [],
11
+ "affectedNodes": ["http://pc-desktop:7202"],
12
12
  "state": "RECEIVING_SNAPSHOT"
13
13
  }
14
14
  },
@@ -17,16 +17,13 @@
17
17
  "nodeState": "LEADER",
18
18
  "term": 2,
19
19
  "syncStatus": {
20
- "pc-desktop:7300": "IN_SYNC",
20
+ "pc-desktop:7300": "OUT_OF_SYNC",
21
21
  "pc-desktop:7302": "IN_SYNC"
22
22
  },
23
23
  "lastLogTerm": 0,
24
24
  "lastLogIndex": 0,
25
25
  "endpoint": "http://pc-desktop:7201",
26
- "recoveryStatus": {
27
- "affectedNodes": ["http://pc-desktop:7200"],
28
- "state": "RECEIVING_SNAPSHOT"
29
- }
26
+ "recoveryStatus": {}
30
27
  },
31
28
  {
32
29
  "address": "pc-desktop:7302",
@@ -36,6 +33,9 @@
36
33
  "lastLogTerm": 0,
37
34
  "lastLogIndex": 0,
38
35
  "endpoint": "http://pc-desktop:7202",
39
- "recoveryStatus": {}
36
+ "recoveryStatus": {
37
+ "affectedNodes": ["http://pc-desktop:7200"],
38
+ "state": "SENDING_SNAPSHOT"
39
+ }
40
40
  }
41
41
  ]
@@ -0,0 +1,27 @@
1
+ {
2
+ "@graph": [
3
+ {
4
+ "@id": "http://example.org/test#chapter",
5
+ "http://purl.org/dc/elements/1.1/description": ["Fun"],
6
+ "http://purl.org/dc/elements/1.1/title": ["Chapter One"]
7
+ },
8
+ {
9
+ "@id": "http://example.org/test#jane",
10
+ "http://example.org/vocab#authored": [{"@id": "http://example.org/test#chapter"}],
11
+ "http://xmlns.com/foaf/0.1/name": ["Jane"]
12
+ },
13
+ {
14
+ "@id": "http://example.org/test#john",
15
+ "http://xmlns.com/foaf/0.1/name": ["John"]
16
+ },
17
+ {
18
+ "@id": "http://example.org/test#library",
19
+ "http://example.org/vocab#contains": [{
20
+ "@id": "http://example.org/test#book",
21
+ "http://example.org/vocab#contains": [ "this-is-not-an-IRI" ],
22
+ "http://purl.org/dc/elements/1.1/contributor": ["Writer"],
23
+ "http://purl.org/dc/elements/1.1/title": ["My Book"]
24
+ }]
25
+ }
26
+ ]
27
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "@context": {
3
+ "ab": "http://learningsparql.com/ns/addressbook#"
4
+ },
5
+ "@id": "ab:richard",
6
+ "ab:homeTel": "(229)276-5135",
7
+ "ab:email": "richard491@hotmail.com"
8
+ }
@@ -0,0 +1,15 @@
1
+ <?xml version="1.0"?>
2
+ <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
3
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
4
+ xmlns:ex="http://example.org/stuff/1.0/">
5
+
6
+ <rdf:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar"
7
+ dc:title="RDF1.1 XML Syntax">
8
+ <ex:editor>
9
+ <rdf:Description ex:fullName="Dave Beckett">
10
+ <ex:homePage rdf:resource="http://purl.org/net/dajobe/" />
11
+ </rdf:Description>
12
+ </ex:editor>
13
+ </rdf:Description>
14
+
15
+ </rdf:RDF>
@@ -0,0 +1,8 @@
1
+ {
2
+ "@context": {
3
+ "ab": "http://learningsparql.com/ns/addressbook#"
4
+ },
5
+ "@id": "ab:richard",
6
+ "ab:homeTel": "(229)276-5135",
7
+ "ab:email": "richard491@hotmail.com"
8
+ }
@@ -0,0 +1,13 @@
1
+ <?xml version="1.0"?>
2
+ <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
3
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
4
+ xmlns:ex="http://example.org/stuff/1.0/">
5
+
6
+ <rdf:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar"
7
+ dc:title="RDF1.1 XML Syntax">
8
+ <ex:editor>
9
+ </rdf:Description>
10
+ </ex:editor>
11
+ </rdf:Description>
12
+
13
+ </rdf:RDF>
@@ -0,0 +1,13 @@
1
+ <?xml version="1.0"?>
2
+ <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
3
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
4
+ xmlns:ex="http://example.org/stuff/1.0/">
5
+
6
+ <rdf:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar"
7
+ dc:title="RDF1.1 XML Syntax">
8
+ <ex:looooooooooooooooooooooooooooooooongTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaame>
9
+ </rdf:Description>
10
+ </ex:looooooooooooooooooooooooooooooooongTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaame>
11
+ </rdf:Description>
12
+
13
+ </rdf:RDF>
@@ -0,0 +1,8 @@
1
+ {
2
+ "@context": {
3
+ "ab": "http://learningsparql.com/ns/addressbook#"
4
+ },
5
+ "@id": "ab:richard",
6
+ "ab:homeTel": "(229)276-5135",
7
+ "ab:email": "richard491@hotmail.com"
8
+ }