graphdb-workbench-tests 2.2.2 → 2.2.3-TR1
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.
|
@@ -32,5 +32,27 @@ describe('YASQE and YASR language change validation', () => {
|
|
|
32
32
|
SparqlSteps.getEditorAndResultsBtn().should('contain', 'Éditeur et résultats');
|
|
33
33
|
SparqlSteps.getResultsOnlyBtn().should('contain', 'Résultats seulement');
|
|
34
34
|
});
|
|
35
|
+
|
|
36
|
+
it('should change "Download as" dropdown label. Test "GDB-8100" bug.', () => {
|
|
37
|
+
|
|
38
|
+
// When I visit a page with YASQE and YASR in it,
|
|
39
|
+
// and execute a query.
|
|
40
|
+
SparqlSteps.executeQuery();
|
|
41
|
+
|
|
42
|
+
// Then I expect 'Download as' to be translated to English.
|
|
43
|
+
SparqlSteps.getDownloadBtn().should('contain', 'Download as');
|
|
44
|
+
|
|
45
|
+
// When I change the language.
|
|
46
|
+
SparqlSteps.changeLanguage('fr');
|
|
47
|
+
|
|
48
|
+
// Then I expect 'Download as' to be translated to French.
|
|
49
|
+
SparqlSteps.getDownloadBtn().should('contain', 'Téléchargement');
|
|
50
|
+
|
|
51
|
+
// When I rerun the query.
|
|
52
|
+
SparqlSteps.executeQuery();
|
|
53
|
+
|
|
54
|
+
// Then I expect 'Download as' to be translated to French.
|
|
55
|
+
SparqlSteps.getDownloadBtn().should('contain', 'Téléchargement');
|
|
56
|
+
});
|
|
35
57
|
});
|
|
36
58
|
});
|