mirror of https://github.com/status-im/consul.git
ui: Ensure per service intentions link to the correct place (#9122)
* ui: Add a separate routeNsme to the per service intention listing * Add a test to make sure we go through to per service intention form
This commit is contained in:
parent
475b4cd473
commit
3a68686cc3
|
@ -38,7 +38,7 @@
|
||||||
<:idle as |list|>
|
<:idle as |list|>
|
||||||
<list.CustomResourceNotice />
|
<list.CustomResourceNotice />
|
||||||
<list.CheckNotice />
|
<list.CheckNotice />
|
||||||
<list.Table />
|
<list.Table @routeName="dc.services.show.intentions.edit" />
|
||||||
</:idle>
|
</:idle>
|
||||||
<:empty as |list|>
|
<:empty as |list|>
|
||||||
<EmptyState>
|
<EmptyState>
|
||||||
|
|
|
@ -38,6 +38,8 @@ Feature: dc / services / show / intentions: Intentions per service
|
||||||
And I see intentionsIsSelected on the tabs
|
And I see intentionsIsSelected on the tabs
|
||||||
Scenario: I can see intentions
|
Scenario: I can see intentions
|
||||||
And I see 3 intention models on the intentionList component
|
And I see 3 intention models on the intentionList component
|
||||||
|
And I click intention on the intentionList.intentions component
|
||||||
|
Then the url should be /dc1/services/service-0/intentions/default:name:default:destination
|
||||||
Scenario: I can delete intentions
|
Scenario: I can delete intentions
|
||||||
And I click actions on the intentionList.intentions component
|
And I click actions on the intentionList.intentions component
|
||||||
And I click delete on the intentionList.intentions component
|
And I click delete on the intentionList.intentions component
|
||||||
|
|
Loading…
Reference in New Issue