Skip to content

Commit

Permalink
ui: Use last-child for selecting the desired nspace instead of nth-ch…
Browse files Browse the repository at this point in the history
…ild (#11127)
  • Loading branch information
johncowen authored and hc-github-team-consul-core committed Sep 24, 2021
1 parent e5a5312 commit 0aef2dc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ Feature: dc / intentions / create: Intention Create
Then I see the text "db" in "[data-test-destination-element] .ember-power-select-selected-item"
# Set source nspace
And I click "[data-test-source-nspace] .ember-power-select-trigger"
And I click ".ember-power-select-option:nth-child(2)"
And I click ".ember-power-select-option:last-child"
Then I see the text "nspace-0" in "[data-test-source-nspace] .ember-power-select-selected-item"
# Set destination nspace
And I click "[data-test-destination-nspace] .ember-power-select-trigger"
And I click ".ember-power-select-option:nth-child(2)"
And I click ".ember-power-select-option:last-child"
Then I see the text "nspace-0" in "[data-test-destination-nspace] .ember-power-select-selected-item"
# Specifically set deny
And I click ".value-deny"
Expand Down

0 comments on commit 0aef2dc

Please sign in to comment.