From eb218ab93f770b23a4c87a8ab076d8346ea76c0c Mon Sep 17 00:00:00 2001 From: John Cowen Date: Thu, 13 Sep 2018 09:10:18 +0100 Subject: [PATCH] ui: Test bugfix. Specifically set deny for intention creation (#4663) Make sure we speficially set and test for deny on testing intention creation --- ui-v2/tests/acceptance/dc/intentions/create.feature | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui-v2/tests/acceptance/dc/intentions/create.feature b/ui-v2/tests/acceptance/dc/intentions/create.feature index 66bff174b2..6fe4c90389 100644 --- a/ui-v2/tests/acceptance/dc/intentions/create.feature +++ b/ui-v2/tests/acceptance/dc/intentions/create.feature @@ -20,6 +20,8 @@ Feature: dc / intentions / update: Intention Create And I type "db" into ".ember-power-select-search-input" And I click ".ember-power-select-option:first-child" Then I see the text "db" in "[data-test-destination-element] .ember-power-select-selected-item" + # Specifically set deny + And I click "[value=deny]" And I submit Then a POST request is made to "/v1/connect/intentions?dc=datacenter" with the body from yaml ---