open-nomad/ui/tests/acceptance
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
..
behaviors Format all bytes using helpers, even the ones that are already MiBs 2021-03-31 09:29:02 -07:00
allocation-detail-test.js ui: Fix server list leader determination for IPv6 (#10530) 2021-05-13 12:29:51 -05:00
allocation-fs-test.js Always show the file browser for allocations and tasks. 2020-10-25 22:24:56 -07:00
application-errors-test.js Add component accessibility auditing and fixes (#8679) 2020-08-25 10:56:02 -05:00
client-detail-test.js ui: Change global search to use fuzzy search API (#10412) 2021-04-28 13:31:05 -05:00
client-monitor-test.js Move breadcrumbs objects into shared layout object (#9576) 2020-12-10 11:51:22 -06:00
clients-list-test.js Change down to highest-priority composite status (#9927) 2021-02-01 12:00:34 -06:00
exec-test.js Clean up erroneous and redundant mirage things 2020-08-27 17:58:24 -07:00
job-allocations-test.js Add component accessibility auditing and fixes (#8679) 2020-08-25 10:56:02 -05:00
job-definition-test.js Add component accessibility auditing and fixes (#8679) 2020-08-25 10:56:02 -05:00
job-deployments-test.js Change compared page object to match by name (#8915) 2020-09-17 11:08:47 -05:00
job-detail-test.js ui: Update namespaces design (#10444) 2021-04-29 15:00:59 -05:00
job-evaluations-test.js Add component accessibility auditing and fixes (#8679) 2020-08-25 10:56:02 -05:00
job-run-test.js Add component accessibility auditing and fixes (#8679) 2020-08-25 10:56:02 -05:00
job-versions-test.js Add job version revert buttons (#10336) 2021-04-20 08:33:16 -05:00
jobs-list-test.js ui: Update namespaces design (#10444) 2021-04-29 15:00:59 -05:00
optimize-test.js ui: Update namespaces design (#10444) 2021-04-29 15:00:59 -05:00
plugin-allocations-test.js Add component accessibility auditing and fixes (#8679) 2020-08-25 10:56:02 -05:00
plugin-detail-test.js Use common helpers and utils for formatting hertz 2021-03-31 09:29:14 -07:00
plugins-list-test.js Add component accessibility auditing and fixes (#8679) 2020-08-25 10:56:02 -05:00
regions-test.js ui: Change global search to use fuzzy search API (#10412) 2021-04-28 13:31:05 -05:00
search-test.js ui: Change global search to use fuzzy search API (#10412) 2021-04-28 13:31:05 -05:00
server-detail-test.js ui: Fix server list leader determination for IPv6 (#10530) 2021-05-13 12:29:51 -05:00
server-monitor-test.js Move breadcrumbs objects into shared layout object (#9576) 2020-12-10 11:51:22 -06:00
servers-list-test.js ui: Fix server list leader determination for IPv6 (#10530) 2021-05-13 12:29:51 -05:00
task-detail-test.js ui: Update namespaces design (#10444) 2021-04-29 15:00:59 -05:00
task-fs-test.js Always show the file browser for allocations and tasks. 2020-10-25 22:24:56 -07:00
task-group-detail-test.js ui: Add optional memory max to task details ribbon (#10459) 2021-04-28 15:38:14 -05:00
task-logs-test.js Add component accessibility auditing and fixes (#8679) 2020-08-25 10:56:02 -05:00
token-test.js ui: Update namespaces design (#10444) 2021-04-29 15:00:59 -05:00
topology-test.js ui: Fix bug where switching topo viz allocation highlights doesn’t update charts (#10490) 2021-05-03 10:36:18 -05:00
volume-detail-test.js ui: Update namespaces design (#10444) 2021-04-29 15:00:59 -05:00
volumes-list-test.js ui: Update namespaces design (#10444) 2021-04-29 15:00:59 -05:00