open-consul/ui/packages/consul-ui/tests/acceptance/steps/dc/services
John Cowen 3ab747109b
ui: [BUGFIX] Fixes an issue when editing intentions from the service > intentions sub tab (#11937)
We recently changed the intentions form to take a full model of a dc rather than just the string identifier (so {Name: 'dc', Primary: true} vs just 'dc' in order to know whether the DC is the primary or not.

Unfortunately, we only did this on the global intentions page not the per service intentions page. This makes it impossible to save an intention from the per service intention page (whilst you can still save intentions from the global intention page as normal).

The fix here pretty much copy/pastes the approach taken in the global intention edit template over to the per service intention edit template.

Tests have been added for creation in the per service intention section, which again are pretty much just copied from the global one, unfortunately this didn't exist previously which would have helped prevent this.
2022-01-07 19:09:40 +00:00
..
index ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
instances ui: Serf Health Check warning notice (#10194) 2021-05-13 11:36:51 +01:00
show ui: [BUGFIX] Fixes an issue when editing intentions from the service > intentions sub tab (#11937) 2022-01-07 19:09:40 +00:00
dc-switch-steps.js ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
error-steps.js ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
index-steps.js ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
list-blocking-steps.js ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
list-steps.js ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
navigation-steps.js ui: Sort lists with health by unhealthy/healthy by default (#9234) 2020-11-19 16:05:46 +00:00
show-routing-steps.js ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
show-steps.js ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
show-topology-steps.js ui: Prevent redirect to topology url and hide Topology tab if service has no services (#9008) 2020-10-23 09:45:10 -04:00
show-with-slashes-steps.js ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
sorting-steps.js ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00