graphdb-workbench-tests 2.6.0-TR2 → 2.6.0-TR3

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.
@@ -1106,6 +1106,7 @@
1106
1106
  "required.field": "This field is required",
1107
1107
  "created.repo.success.msg": "The repository {{repoId}} has been created.",
1108
1108
  "empty.repoid.warning": "Repository ID cannot be empty",
1109
+ "empty.context.or.frame.link": "Link cannot be empty",
1109
1110
  "invalid.ruleset.file.error": "Invalid rule-set file. Please upload a valid one.",
1110
1111
  "wrong.repo.name.error": "Wrong repo name",
1111
1112
  "edit.system.repo.warning": "<b>System</b> repository can't be edited",
@@ -1619,6 +1620,14 @@
1619
1620
  "error": "error",
1620
1621
  "import.rdf.data.label": "Import RDF data",
1621
1622
  "export.rdf.data": "Export RDF data",
1623
+ "export.settings": "Export settings: JSON-LD",
1624
+ "export": "Export",
1625
+ "jsonld.mode": "JSON-LD mode",
1626
+ "jsonld.mode.info": "JSON-LD mode allows you to choose different data formats for export",
1627
+ "jsonld.context.link": "Context link",
1628
+ "jsonld.frame.link": "Frame link",
1629
+ "jsonld.frame.uri.placeholder": "http://example.com/frame.jsonld",
1630
+ "jsonld.context.uri.placeholder": "http://example.com/context.jsonld",
1622
1631
  "saved.sparql.queries.label": "Saved SPARQL queries",
1623
1632
  "saved.sparql.queries.tooltip": "Execute a saved SPARQL query directly",
1624
1633
  "common.execute": "Execute",
@@ -121,4 +121,13 @@ describe('Graphs overview screen validation', () => {
121
121
  cy.get('.resultsTable').should('be.visible')
122
122
  .find('thead th').should('have.length', 5);
123
123
  });
124
+
125
+ it('Export repository in JSONLD format', () => {
126
+ cy.get('.export-repository-btn').click();
127
+ cy.get('.export-repo-format-JSONLD').click();
128
+ cy.get('[id=wb-JSONLD-mode]').select(5);
129
+ cy.get('[id=wb-JSONLD-context]').type('https://w3c.github.io/json-ld-api/tests/compact/0007-context.jsonld');
130
+ cy.get('[id=wb-export-JSONLD]').click();
131
+ cy.get('.modal-content').should('not.exist');
132
+ });
124
133
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphdb-workbench-tests",
3
- "version": "2.6.0-TR2",
3
+ "version": "2.6.0-TR3",
4
4
  "description": "Cypress tests for GraphDB workbench",
5
5
  "scripts": {
6
6
  "start": "cypress open",