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:
John Cowen 2020-11-06 14:57:29 +00:00 committed by GitHub
parent 475b4cd473
commit 3a68686cc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -38,7 +38,7 @@
<:idle as |list|>
<list.CustomResourceNotice />
<list.CheckNotice />
<list.Table />
<list.Table @routeName="dc.services.show.intentions.edit" />
</:idle>
<:empty as |list|>
<EmptyState>

View File

@ -38,6 +38,8 @@ Feature: dc / services / show / intentions: Intentions per service
And I see intentionsIsSelected on the tabs
Scenario: I can see intentions
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
And I click actions on the intentionList.intentions component
And I click delete on the intentionList.intentions component