graphdb-workbench-tests 1.11.3-TR3 → 1.11.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphdb-workbench-tests",
3
- "version": "1.11.3-TR3",
3
+ "version": "1.11.3",
4
4
  "description": "Cypress tests for GraphDB workbench",
5
5
  "scripts": {
6
6
  "start": "cypress open",
@@ -27,10 +27,14 @@ class ImportSteps {
27
27
  return ImportSteps;
28
28
  }
29
29
 
30
+ static closePopover() {
31
+ cy.get('.popover.in').click();
32
+ }
33
+
30
34
  static openImportURLDialog(importURL) {
31
- cy.get('#import-user .import-from-url-btn').click()
32
- // Forces the popover to disappear as it covers the modal and Cypress refuses to continue
33
- .trigger('mouseout', {force: true});
35
+ cy.get('#import-user .import-from-url-btn').click();
36
+ // Forces the popover to disappear as it covers the modal and Cypress refuses to continue
37
+ ImportSteps.closePopover();
34
38
  ImportSteps.getModal()
35
39
  .find('.url-import-form input[name="dataUrl"]')
36
40
  .type(importURL)
@@ -64,7 +68,7 @@ class ImportSteps {
64
68
  }
65
69
 
66
70
  static fillRDFTextSnippet(snippet) {
67
- ImportSteps.getSnippetTextarea().type(snippet, { parseSpecialCharSequences: false }).should('have.value', snippet);
71
+ ImportSteps.getSnippetTextarea().type(snippet, {parseSpecialCharSequences: false}).should('have.value', snippet);
68
72
 
69
73
  return ImportSteps;
70
74
  }
@@ -128,8 +132,7 @@ class ImportSteps {
128
132
 
129
133
  static importFromSettingsDialog() {
130
134
  // Dialog should disappear
131
- ImportSteps.getModal().
132
- find('.modal-footer > .btn-primary')
135
+ ImportSteps.getModal().find('.modal-footer > .btn-primary')
133
136
  .should('exist')
134
137
  .click()
135
138
  .should('not.exist');