graphdb-workbench-tests 2.1.0-RC1 → 2.1.0-RC3

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.
@@ -537,8 +537,11 @@
537
537
  "menu.sparql.label": "SPARQL",
538
538
  "menu.monitor.label": "Monitor",
539
539
  "menu.queries.and.updates.label": "Queries and Updates",
540
- "menu.fts.label": "Enable full-text search",
541
- "menu.ftsLanguages.label": "Languages for full-text search",
540
+ "menu.enableFtsIndex.label": "Enable full-text search",
541
+ "menu.ftsIndexes.label": "Languages for full-text search",
542
+ "menu.ftsStringLiteralsIndex.label": "FTS index for xsd:string literals",
543
+ "menu.ftsIrisIndex.label": "FTS index for full-text indexing of IRIs",
544
+ "menu.ftsDefaultAnalyzer.label": "Analyzer for the default index",
542
545
  "menu.resources.label": "Resources",
543
546
  "menu.setup.label": "Setup",
544
547
  "menu.repositories.label": "Repositories",
@@ -965,8 +968,11 @@
965
968
  "repoTooltips.throwQueryEvaluationExceptionOnTimeout": "Repository throws QueryEvaluationException when the duration of a query execution exceeds the timeout parameter.",
966
969
  "repoTooltips.queryLimitResults": "Sets the maximum number of results returned from a query after which the evaluation of a query will be terminated; values less than or equal to zero mean no limit.",
967
970
  "repoTooltips.nonInterpretablePredicates": "Semicolon-delimited list of predicates (full URIs) that GraphDB will not try to process with the registered GraphDB plugins.",
968
- "repoTooltips.fts": "Enable full-text search.",
969
- "repoTooltips.ftsLanguages": "White space-delimited list of languages that should have specific index with appropriate analyzer for full-text search.",
971
+ "repoTooltips.enableFtsIndex": "Enable full-text search.",
972
+ "repoTooltips.ftsIndexes": "Comma delimited list of languages that should have specific index with appropriate analyzer for full-text search. Possible values are: default, iri, ar, bg, bn, br, ca, ja, ko, zh, ku, cz, da, de, el, en, es, et, eu, fa, fi, fr, ga, gl, hi, hu, hy, id, it, lt, lv, ne, nl, no, pt, ro, ru, sr, sv, ta, te, th, tr",
973
+ "repoTooltips.ftsStringLiteralsIndex": "The index in which the string literals (xsd:string) are indexed. Possible values are: none, default or 2 letter language code",
974
+ "repoTooltips.ftsIrisIndex": "The index in which the IRIs are indexed for full-text search. Possible values are: none, default or 2 letter language code",
975
+ "repoTooltips.ftsDefaultAnalyzer": "The analyzer to use for the 'default' index. Possible values are: standard, simple, keyword, whitespace, unicodewhitespace, url, email, ar, bg, bn, br, ca, cjk, ckb, cz, da, de, el, en, es, et, eu, fa, fi, fr, ga, gl, hi, hu, hy, id, it, lt, lv, ne, nl, no, pt, ro, ru, sr, sv, ta, te, th, tr",
970
976
  "repoTooltips.ontop.driverType": "Determines the type of SQL database to connect to.",
971
977
  "repoTooltips.ontop.propertiesFile": "Describes the JDBC configuration such as hostname and database name to connect to.",
972
978
  "repoTooltips.ontop.hostName": "The JDBC hostname to connect to.",
@@ -76,15 +76,30 @@
76
76
  "name": "entityIdSize",
77
77
  "value": "32"
78
78
  },
79
- "fts": {
79
+ "enableFtsIndex": {
80
80
  "label": "Enable full-text search",
81
- "name": "fts",
81
+ "name": "enableFtsIndex",
82
82
  "value": "true"
83
83
  },
84
- "ftsLanguages": {
84
+ "ftsIndexes": {
85
85
  "label": "Enter language for full-text search",
86
- "name": "ftsLanguages",
87
- "value": ""
86
+ "name": "ftsIndexes",
87
+ "value": "default, iri"
88
+ },
89
+ "ftsStringLiteralsIndex": {
90
+ "label": "FTS index for xsd:string literals",
91
+ "name": "ftsStringLiteralsIndex",
92
+ "value": "default"
93
+ },
94
+ "ftsIrisIndex": {
95
+ "label": "FTS index for full-text indexing of IRIs",
96
+ "name": "ftsIrisIndex",
97
+ "value": "none"
98
+ },
99
+ "ftsDefaultAnalyzer": {
100
+ "label": "Analyzer for the default index",
101
+ "name": "ftsDefaultAnalyzer",
102
+ "value": "standard"
88
103
  },
89
104
  "throwQueryEvaluationExceptionOnTimeout": {
90
105
  "label": "Throw exception on query time-out",
@@ -215,7 +215,9 @@ describe('Repositories', () => {
215
215
  getRepositoryRulesetMenu().should('have.value', '4');
216
216
  getRepositoryDisableSameAsCheckbox().should('not.be.checked');
217
217
  getRepositoryContextIndexCheckbox().should('be.checked');
218
- getRepositoryFtsCheckbox().should('be.checked');
218
+
219
+ // TODO uncomment and refactor when FTS configuration is with clear ON or OFF status
220
+ // getRepositoryFtsCheckbox().should('be.checked');
219
221
  });
220
222
 
221
223
  it('should allow to switch between repositories', () => {
@@ -311,7 +313,9 @@ describe('Repositories', () => {
311
313
 
312
314
  typeRepositoryTitle(newTitle);
313
315
  getRepositoryContextIndexCheckbox().check();
314
- getRepositoryFtsCheckbox().check();
316
+
317
+ // TODO uncomment and refactor when FTS configuration is with clear ON or OFF status
318
+ // getRepositoryFtsCheckbox().check();
315
319
 
316
320
  getSaveRepositoryButton()
317
321
  .click()
@@ -328,7 +332,9 @@ describe('Repositories', () => {
328
332
 
329
333
  getRepositoryTitleField().should('have.value', newTitle);
330
334
  getRepositoryContextIndexCheckbox().should('be.checked');
331
- getRepositoryFtsCheckbox().should('be.checked');
335
+
336
+ // TODO uncomment and refactor when FTS configuration is with clear ON or OFF status
337
+ // getRepositoryFtsCheckbox().should('be.checked');
332
338
  });
333
339
 
334
340
  it('should allow to delete existing repository', () => {
@@ -663,7 +669,7 @@ describe('Repositories', () => {
663
669
  .should('have.length.greaterThan', 0)
664
670
  .then(() => {
665
671
  assertRepositoryStatus(repositoryId, "RUNNING");
666
- })
672
+ });
667
673
 
668
674
  //Restart the repository
669
675
  restartRepository(repositoryId);
@@ -841,7 +847,7 @@ describe('Repositories', () => {
841
847
  }
842
848
 
843
849
  function getRepositoryFtsCheckbox() {
844
- return getRepositoryCreateForm().find('#fts');
850
+ return getRepositoryCreateForm().find('#enableFtsIndex');
845
851
  }
846
852
 
847
853
  function getSaveRepositoryButton() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphdb-workbench-tests",
3
- "version": "2.1.0-RC1",
3
+ "version": "2.1.0-RC3",
4
4
  "description": "Cypress tests for GraphDB workbench",
5
5
  "scripts": {
6
6
  "start": "cypress open",