From 7bad01e193ab3f8544b6f6d203fd6dabf10d752c Mon Sep 17 00:00:00 2001 From: mabashian Date: Mon, 26 Nov 2018 11:20:56 -0500 Subject: [PATCH] Fixes e2e workflow visualizer tests --- .../forms/workflow-link-form.controller.js | 2 +- .../forms/workflow-link-form.partial.html | 2 +- .../forms/workflow-node-form.partial.html | 6 +- .../e2e/tests/test-workflow-visualizer.js | 195 +++++++++++------- 4 files changed, 124 insertions(+), 81 deletions(-) diff --git a/awx/ui/client/src/templates/workflows/workflow-maker/forms/workflow-link-form.controller.js b/awx/ui/client/src/templates/workflows/workflow-maker/forms/workflow-link-form.controller.js index bbf8f095c3..3e27f823ca 100644 --- a/awx/ui/client/src/templates/workflows/workflow-maker/forms/workflow-link-form.controller.js +++ b/awx/ui/client/src/templates/workflows/workflow-maker/forms/workflow-link-form.controller.js @@ -29,7 +29,7 @@ export default ['$scope', 'TemplatesStrings', 'CreateSelect2', value: $scope.linkConfig.edgeType }; CreateSelect2({ - element: '#workflow_node_edge_2', + element: '#workflow_link_edge', multiple: false }); } diff --git a/awx/ui/client/src/templates/workflows/workflow-maker/forms/workflow-link-form.partial.html b/awx/ui/client/src/templates/workflows/workflow-maker/forms/workflow-link-form.partial.html index cf384b6411..bcbdf10937 100644 --- a/awx/ui/client/src/templates/workflows/workflow-maker/forms/workflow-link-form.partial.html +++ b/awx/ui/client/src/templates/workflows/workflow-maker/forms/workflow-link-form.partial.html @@ -9,7 +9,7 @@