Commit Graph

21 Commits

Author SHA1 Message Date
Nick Ethier
2be03bc0d9 Update UI to use new allocated ports fields (#8631)
* nomad: canonicalize alloc shared resources to populate ports

* ui: network ports

* ui: remove unused task network references and update tests with new shared ports model

* ui: lint

* ui: revert auto formatting

* ui: remove unused page objects

* structs: remove unrelated test from bad conflict resolution

* ui: formatting
2020-08-20 11:07:13 -04:00
Buck Doyle
06baadd01e UI: add filesystem browsing for allocations (#7951)
This partially addresses #7799.

Task state filesystems are contained within a subdirectory of their
parent allocation, so almost everything that existed for browsing task
state filesystems was applicable to browsing allocations, just without
the task name prepended to the path. I aimed to push this differential
handling into as few contained places as possible.

The tests also have significant overlap, so this includes an extracted
behavior to run the same tests for allocations and task states.
2020-06-01 08:15:59 -05:00
Buck Doyle
8fb57c408c Add assertions for title-area buttons (#7836)
This closes #7452.
2020-05-11 11:29:30 -05:00
Jasmine Dahilig
c10ac6394f UI: Add representations for task lifecycles (#7659)
This adds details about task lifecycles to allocations, task groups,
and tasks. It includes a live-updating timeline-like chart on allocations.
2020-04-30 08:15:19 -05:00
Buck Doyle
27df92a967 UI: add exec terminal (#6697)
This connects Xterm.js to a Nomad exec websocket so people
can interact on clients via live sessions. There are buttons on
job, allocation, task group, and task detail pages that open a
popup that lets them edit their shell command and start a
session.

More is to come, as recorded in issues.
2020-03-24 18:22:16 -05:00
Michael Lange
88c2af2f8d Add assertion for the volume k/v pairs in task rows 2020-02-13 17:11:39 -08:00
Michael Lange
31945880e7 Test coverage for the task detail volumes table 2020-02-13 17:11:35 -08:00
Buck Doyle
dfb88cc787 UI: add Consul Connect features (#6108) 2019-09-04 09:39:56 -05:00
Michael Lange
65aa4757b8 Use the standard empty state when a dir is empty 2019-08-19 17:16:26 -07:00
Buck Doyle
f046ec31e5 UI: Add allocation directory sorting (#5914)
When sorting by size, directories are sorted by name, as size
isn’t displayed.

This includes a change to the positioning of sort arrows for all tables,
moving them closer to the text, because in some cases, the arrows
for right-aligned columns were ambiguously positioned.
2019-07-23 15:37:34 -05:00
Buck Doyle
fdca5cf84a Remove superfluous test attributes (#5927)
I found while working on #5926 that x-icon already adds
assertion-compatible selectors, so these wrappers are
unnecessary.
2019-07-08 10:36:56 -05:00
Buck Doyle
ee07bab099 UI: Add allocation directory rendering (#5873)
This lets users navigate the allocation filesystem. It doesn’t
support viewing actual files yet.
2019-07-02 16:42:38 -05:00
Michael Lange
d39d0f04c3 Test support and coverage for fs routing 2019-06-20 15:20:15 -07:00
Michael Lange
d33f4bfd49 Acceptance testing for allocation lifecycle 2019-05-21 09:24:19 -07:00
Michael Lange
c7e1598ed3 Preemption modeling as page objects 2019-04-22 16:40:08 -07:00
Michael Lange
bf9ff6ed8b Test coverage for resource graph empty states 2018-12-13 07:53:17 -08:00
Michael Lange
122a8a12e8 Add an empty state to the allocation detail task list 2018-11-19 12:18:14 -08:00
Michael Lange
866f650de8 Acceptance test coverage for all the pages with resource utilization graphs 2018-09-19 16:33:51 -07:00
Michael Lange
9b7507e8e3 Use PageObject for task logs tests 2018-07-11 12:31:37 -07:00
Michael Lange
3a5655d11f Use PageObject for task detail tests 2018-07-11 12:21:26 -07:00
Michael Lange
3085e1ece2 Use PageObject for allocation detail tests 2018-07-11 11:27:23 -07:00