github.com/rposudnevskiy/consul@v1.4.5/ui-v2/tests/acceptance/dc/intentions/filtered-select.feature (about) 1 @setupApplicationTest 2 Feature: dc / intentions / filtered select: Intention Service Select Dropdowns 3 In order to use services as intention sources and destinations 4 As a user 5 I want to be able to choose see existing services in the dropdown, but not existing proxy services 6 Scenario: Opening the [Name] dropdown with 2 services and 2 proxy services 7 Given 1 datacenter model with the value "datacenter" 8 And 4 service models from yaml 9 --- 10 - Name: service-0 11 Kind: consul 12 - Name: service-1 13 Kind: consul 14 - Name: service-2 15 Kind: connect-proxy 16 - Name: service-3 17 Kind: connect-proxy 18 --- 19 When I visit the intention page for yaml 20 --- 21 dc: datacenter 22 intention: intention 23 --- 24 Then the url should be /datacenter/intentions/intention 25 And I click "[data-test-[Name]-element] .ember-power-select-trigger" 26 Then I see the text "* (All Services)" in ".ember-power-select-option:nth-last-child(3)" 27 Then I see the text "service-0" in ".ember-power-select-option:nth-last-child(2)" 28 Then I see the text "service-1" in ".ember-power-select-option:last-child" 29 Where: 30 --------------- 31 | Name | 32 | source | 33 | destination | 34 ---------------