open-nomad/ui/tests
Buck Doyle 7b42bb0e2d
ui: Fix server list leader determination for IPv6 (#10530)
This closes #10513, thanks to @bastelfreak for the report.
GET /status/leader returns an IPv6 host with square brackets
around the IP address as expected, but the rpcAddr property
on the agent model does not.

This fixes rpcAddr, updates the Mirage /status/leader mock
to properly format an IPv6 host, and changes the agent
factory to sometimes produce IPv6 addresses.

I added a formatHost utility function to centralise the
conditional square bracket-wrapping that would have
otherwise been further scattered around.
2021-05-13 12:29:51 -05:00
..
acceptance ui: Fix server list leader determination for IPv6 (#10530) 2021-05-13 12:29:51 -05:00
helpers ui: Update namespaces design (#10444) 2021-04-29 15:00:59 -05:00
integration ui: Update namespaces design (#10444) 2021-04-29 15:00:59 -05:00
pages ui: Fix bug where switching topo viz allocation highlights doesn’t update charts (#10490) 2021-05-03 10:36:18 -05:00
unit ui: Update namespaces design (#10444) 2021-04-29 15:00:59 -05:00
utils Temporary helpers for ember-power-select 2020-06-16 10:23:36 -07:00
.eslintrc.js Add component accessibility auditing and fixes (#8679) 2020-08-25 10:56:02 -05:00
index.html Update the test index.html file 2019-04-10 14:54:32 -07:00
test-helper.js Update Ember/Ember CLI to 3.20 (#9641) 2021-02-17 15:01:44 -06:00