graphdb-workbench-tests 1.10.0 → 1.11.0-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.
|
@@ -25,7 +25,7 @@ describe('Visual graph screen validation', () => {
|
|
|
25
25
|
|
|
26
26
|
context('When autocomplete is disabled', () => {
|
|
27
27
|
it('Test notification when autocomplete is disabled', () => {
|
|
28
|
-
cy.visit('
|
|
28
|
+
cy.visit('graphs-visualizations');
|
|
29
29
|
cy.window();
|
|
30
30
|
getSearchField().should('be.visible').type('http://');
|
|
31
31
|
|
|
@@ -42,7 +42,7 @@ describe('Visual graph screen validation', () => {
|
|
|
42
42
|
cy.enableAutocomplete(repositoryId);
|
|
43
43
|
});
|
|
44
44
|
beforeEach(() => {
|
|
45
|
-
cy.visit('
|
|
45
|
+
cy.visit('graphs-visualizations');
|
|
46
46
|
cy.window();
|
|
47
47
|
});
|
|
48
48
|
|
|
@@ -472,7 +472,7 @@ describe('Visual graph screen validation', () => {
|
|
|
472
472
|
});
|
|
473
473
|
|
|
474
474
|
it('Test can create custom visual graph', () => {
|
|
475
|
-
cy.visit('
|
|
475
|
+
cy.visit('graphs-visualizations');
|
|
476
476
|
getCreateCustomGraphLink().click();
|
|
477
477
|
cy.url().should('include', '/config/save');
|
|
478
478
|
getGraphConfigName().type('configName');
|
|
@@ -111,7 +111,7 @@ describe('Home screen validation', () => {
|
|
|
111
111
|
// When I select option from suggestions
|
|
112
112
|
cy.get(".search-rdf-input #auto-complete-results-wrapper p").contains('hasPos').click();
|
|
113
113
|
// Search result should be opened in new window
|
|
114
|
-
cy.get('@window.open').should('be.calledWith', '
|
|
114
|
+
cy.get('@window.open').should('be.calledWith', 'resource?uri=http%3A%2F%2Fwww.w3.org%2Fns%2Forg%23hasPost');
|
|
115
115
|
// When I revisit the home page
|
|
116
116
|
cy.visit('/graphs');
|
|
117
117
|
// When I open again the search box
|
|
@@ -171,11 +171,11 @@ describe('Home screen validation', () => {
|
|
|
171
171
|
//Test table and visual buttons.
|
|
172
172
|
cy.get("#auto_0").should('be.visible').click();
|
|
173
173
|
// Search result should be opened in new window
|
|
174
|
-
cy.get('@window.open').should('be.calledWith', '
|
|
174
|
+
cy.get('@window.open').should('be.calledWith', 'resource?uri=http%3A%2F%2Fwww.w3.org%2FTR%2F2003%2FPR-owl-guide-20031209%2Fwine%23Dry');
|
|
175
175
|
|
|
176
176
|
getVisualButton().click();
|
|
177
177
|
cy.get("#auto_0").should('be.visible').click();
|
|
178
|
-
cy.get('@window.open').should('be.calledWith', '
|
|
178
|
+
cy.get('@window.open').should('be.calledWith', 'graphs-visualizations?uri=http%3A%2F%2Fwww.w3.org%2FTR%2F2003%2FPR-owl-guide-20031209%2Fwine%23Dry');
|
|
179
179
|
cy.deleteRepository(repositoryId);
|
|
180
180
|
});
|
|
181
181
|
});
|
|
@@ -250,11 +250,11 @@ describe('Home screen validation', () => {
|
|
|
250
250
|
.then(() => HomeSteps.autocompleteText('Green', GOBLIN_URI))
|
|
251
251
|
.then(() => HomeSteps.getAutocompleteResultElement(GOBLIN_URI).click())
|
|
252
252
|
.then(() => // Search result should be opened in new window
|
|
253
|
-
cy.get('@window.open').should('be.calledWith', '
|
|
253
|
+
cy.get('@window.open').should('be.calledWith', 'resource?uri=http%3A%2F%2Fexample.org%2F%23green-goblin'))
|
|
254
254
|
.then(() => HomeSteps.getAutocompleteDisplayTypeButton('visual').click())
|
|
255
255
|
.then(() => HomeSteps.getAutocompleteResultElement(GOBLIN_URI).click())
|
|
256
256
|
.then(() => // Search result should be opened in new window
|
|
257
|
-
cy.get('@window.open').should('be.calledWith', '
|
|
257
|
+
cy.get('@window.open').should('be.calledWith', 'graphs-visualizations?uri=http%3A%2F%2Fexample.org%2F%23green-goblin'));
|
|
258
258
|
cy.deleteRepository(repositoryId);
|
|
259
259
|
});
|
|
260
260
|
|