+
{
cy.visit('graphs-visualizations');
getCreateCustomGraphLink().click();
cy.url().should('include', '/config/save');
- getGraphConfigName().type(graphConfigName);
cy.get('[data-cy="graph-config-by-graph-query-checkbox"]').check();
- cy.pasteQuery('CONSTRUCT WHERE {?s ?p ?o} LIMIT 10').then( () => {
- getSaveConfig().click();
- }
- );
+ getGraphConfigName().type(graphConfigName, {force: true});
+
+ cy.waitUntil(() => getGraphConfigName().should('have.value', graphConfigName));
+ cy.pasteQuery('CONSTRUCT WHERE {?s ?p ?o} LIMIT 10');
+ cy.waitUntilQueryIsVisible();
+
getSaveConfig().click();
cy.url().should('include', 'graphs-visualizations');
cy.contains('td', graphConfigName).should('be.visible').parent().within(() => {
diff --git a/test-cypress/integration/explore/class.hierarchy.spec.js b/test-cypress/integration/explore/class.hierarchy.spec.js
index 5b825b720..9deb355c9 100644
--- a/test-cypress/integration/explore/class.hierarchy.spec.js
+++ b/test-cypress/integration/explore/class.hierarchy.spec.js
@@ -242,7 +242,7 @@ describe('Class hierarchy screen validation', () => {
cy.get(CLASS_LABEL_SELECTOR)
.each(($element) => {
let data = $element.prop('__data__');
- if (data.name === className) {
+ if (data.data.name === className) {
cy.wrap($element).as('classInHierarchy');
}
});
diff --git a/test-cypress/integration/explore/visual.graph.spec.js b/test-cypress/integration/explore/visual.graph.spec.js
index 8ccd93f3f..21fe1c8aa 100644
--- a/test-cypress/integration/explore/visual.graph.spec.js
+++ b/test-cypress/integration/explore/visual.graph.spec.js
@@ -231,9 +231,7 @@ describe('Visual graph screen validation', () => {
// Double click on collapsed node
// This is ugly but unfortunately I couldn't make cypress's dblclick to work reliably here
- getTargetNodeElement().click().then(() => {
- getTargetNodeElement().click();
- });
+ getTargetNodeElement().dblclick()
// Verify that all links to the USRegion node are expanded
getPredicates().should('have.length', 3);