graphdb-workbench-tests 2.1.0-TR3 → 2.1.0
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/fixtures/locale-en.json +10 -4
- package/fixtures/repo-template.json +22 -7
- package/integration/explore/class.hierarchy.spec.js +12 -5
- package/integration/home/language-change.spec.js +1 -1
- package/integration/repository/repositories.spec.js +11 -5
- package/integration/sparql/main.menu.spec.js +5 -0
- package/package.json +1 -1
package/fixtures/locale-en.json
CHANGED
|
@@ -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.
|
|
541
|
-
"menu.
|
|
540
|
+
"menu.enableFtsIndex.label": "Enable full-text search (FTS) index",
|
|
541
|
+
"menu.ftsIndexes.label": "FTS indexes to build (comma delimited)",
|
|
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.
|
|
969
|
-
"repoTooltips.
|
|
971
|
+
"repoTooltips.enableFtsIndex": "Enable full-text search (FTS) index.",
|
|
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
|
-
"
|
|
80
|
-
"label": "Enable full-text search",
|
|
81
|
-
"name": "
|
|
79
|
+
"enableFtsIndex": {
|
|
80
|
+
"label": "Enable full-text search (FTS) index",
|
|
81
|
+
"name": "enableFtsIndex",
|
|
82
82
|
"value": "true"
|
|
83
83
|
},
|
|
84
|
-
"
|
|
85
|
-
"label": "
|
|
86
|
-
"name": "
|
|
87
|
-
"value": ""
|
|
84
|
+
"ftsIndexes": {
|
|
85
|
+
"label": "FTS indexes to build (comma delimited)",
|
|
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",
|
|
@@ -65,7 +65,9 @@ describe('Class hierarchy screen validation', () => {
|
|
|
65
65
|
});
|
|
66
66
|
|
|
67
67
|
it('Test focus on diagram', () => {
|
|
68
|
-
|
|
68
|
+
// This must not be a top-level class and it must have no children,
|
|
69
|
+
// otherwise asserting the zooming becomes tricky
|
|
70
|
+
let className = ':SweetRiesling';
|
|
69
71
|
findClassByName(className);
|
|
70
72
|
cy.get('@classInHierarchy').then(verifyClassIsNotExpanded);
|
|
71
73
|
|
|
@@ -140,8 +142,9 @@ describe('Class hierarchy screen validation', () => {
|
|
|
140
142
|
.should('be.visible')
|
|
141
143
|
.and('length.be.gt', 0);
|
|
142
144
|
|
|
143
|
-
// Click on a
|
|
144
|
-
|
|
145
|
+
// Click on a specific element that isn't a top-level one and has children,
|
|
146
|
+
// otherwise it gets tricky to assert whether it was zoomed
|
|
147
|
+
cy.get('#search_input_dropdown').contains('WineColor')
|
|
145
148
|
.then(($el) => {
|
|
146
149
|
let selectedClassName = $el.text().trim();
|
|
147
150
|
|
|
@@ -247,11 +250,15 @@ describe('Class hierarchy screen validation', () => {
|
|
|
247
250
|
}
|
|
248
251
|
|
|
249
252
|
function verifyClassIsNotExpanded($element) {
|
|
250
|
-
|
|
253
|
+
// This works well only for classes that aren't top level and have no children
|
|
254
|
+
return cy.wrap($element)
|
|
255
|
+
.should('have.css', 'display').and('eq', 'none');
|
|
251
256
|
}
|
|
252
257
|
|
|
253
258
|
function verifyClassIsExpanded($element) {
|
|
254
|
-
|
|
259
|
+
// This works well only for classes that aren't top level and have no children
|
|
260
|
+
return cy.wrap($element)
|
|
261
|
+
.should('have.css', 'display').and('not.eq', 'none');
|
|
255
262
|
}
|
|
256
263
|
|
|
257
264
|
function verifyCounterValue(classCount) {
|
|
@@ -37,7 +37,7 @@ describe('Home screen language validation', () => {
|
|
|
37
37
|
|
|
38
38
|
// The text in the labels should change
|
|
39
39
|
HomeSteps.getViewResourceAsLabel().should('have.text', 'Voir la ressource');
|
|
40
|
-
HomeSteps.getActiveRepoAsLabel().should('have.text', '
|
|
40
|
+
HomeSteps.getActiveRepoAsLabel().should('have.text', 'Dépôt actif');
|
|
41
41
|
HomeSteps.getSavedSparqlQueriesAsLabel().should('have.text', 'Requêtes SPARQL sauvegardées');
|
|
42
42
|
HomeSteps.getLicenseAsLabel().should('have.text', 'Licence');
|
|
43
43
|
});
|
|
@@ -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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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('#
|
|
850
|
+
return getRepositoryCreateForm().find('#enableFtsIndex');
|
|
845
851
|
}
|
|
846
852
|
|
|
847
853
|
function getSaveRepositoryButton() {
|