ui: Use last-child for selecting the desired nspace instead of nth-child (#11127)
This commit is contained in:
parent
98f5cb45b2
commit
e287feb85f
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue