open-consul/ui/packages/consul-ui/tests/acceptance/dc/services
John Cowen 5da06645b0
ui: Gracefully recover from non-existent DC errors (#11077)
* ui: Gracefully recover from non-existent DC errors

This PR fixes what happens in the UI if you try to navigate to a non-existing DC.

When we received a 500 error from an API response due to a non-existent DC, previously we would show a 404 error, which is what we were trying to convey. But in the spirit of the UI being a 'thin client', its probably best to just show the 500 error from the API response, which may help folks to debug any issues better.

* Automatically set the CONSUL_DATACENTER_LOCAL env var for testing
2021-09-22 18:26:36 +01:00
..
instances ui: Partitions Application Layer (#11017) 2021-09-15 19:50:11 +01:00
show ui: Partitions Application Layer (#11017) 2021-09-15 19:50:11 +01:00
dc-switch.feature ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
error.feature ui: Gracefully recover from non-existent DC errors (#11077) 2021-09-22 18:26:36 +01:00
index.feature ui: Install ember-intl (#9399) 2020-12-15 18:29:32 +00:00
list-blocking.feature ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
list.feature ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
navigation.feature ui: Sort lists with health by unhealthy/healthy by default (#9234) 2020-11-19 16:05:46 +00:00
show-routing.feature ui: Partitions Application Layer (#11017) 2021-09-15 19:50:11 +01:00
show-topology.feature 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.feature ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
show.feature ui: Partitions Application Layer (#11017) 2021-09-15 19:50:11 +01:00
sorting.feature ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00