Commit Graph

148 Commits

Author SHA1 Message Date
Buck Doyle
237c40698b Update client list to combine statuses (#5789)
The draining, eligibility, and status fields now all show under a combined
state column. Draining takes precedence, then (in)eligibility; if neither of
those is true, the status displays.
2019-06-19 10:11:17 -07:00
Michael Lange
afa5f4dc0e Include the _ prefix separator in both regexes
And include all prefix types in the test data
2019-05-21 14:20:40 -07:00
Michael Lange
d33f4bfd49 Acceptance testing for allocation lifecycle 2019-05-21 09:24:19 -07:00
Michael Lange
f88c4d7648 Fixed flaky client-detail test
Since one allocation is preempted, the alloc factory creates a new alloc
that wasn't guaranteed to be running. When it is the first alloc row in
the table, then the alloc row detail test fails because non-running
allocs don't have metrics. The fix was to manually update all the alloc
clientStatuses.
2019-05-09 10:26:55 -07:00
Michael Lange
d092723f89 Test coverage for preemption on the client detail page 2019-04-22 16:40:10 -07:00
Michael Lange
5aa938e121 Test coverage for preemption on the allocation detail page 2019-04-22 16:40:09 -07:00
Michael Lange
daa9f7d520 Speed up slow acceptance tests with shallow jobs and generally less models 2019-04-11 20:08:43 -07:00
Michael Lange
b0a65bdb62 Update everything to work with the mirage backwards incompat 2019-04-10 14:54:37 -07:00
Michael Lange
2474ecae4d Remove all andThen and .then usages (except for integration tests)
Since a future ember version does way with the need to manually
making runloop runs, I'm holding off on those tests
2019-04-10 14:54:34 -07:00
Michael Lange
a4ef45379e Fix page object issues with acceptance tests that couldn't be codemodded 2019-04-10 14:54:33 -07:00
Michael Lange
06e7338269 Use mirage test hooks 2019-04-10 14:54:31 -07:00
Michael Lange
9cc9fa84f2 Fix a bunch of snowflake situations the codemod missed 2019-04-10 14:54:31 -07:00
Michael Lange
0a6e84ebf4 Ember test-helpers codemod 2019-04-10 14:54:31 -07:00
Michael Lange
90278bff04 Ember QUnit Codemod 2019-04-10 14:54:30 -07:00
Michael Lange
80580797ef Test coverage for clients faceted search 2019-04-10 10:34:10 -05:00
Michael Lange
e1abb9f7fe Test coverage for job list facets 2019-04-10 10:34:10 -05:00
Michael Lange
cc1b83c980 Update tests that check time and date formatting 2019-02-01 09:19:28 -08:00
Michael Lange
bf9ff6ed8b Test coverage for resource graph empty states 2018-12-13 07:53:17 -08:00
Michael Lange
25a29cb4ee Conditionally show utilization metrics on alloc and task rows 2018-12-13 07:53:17 -08:00
Michael Lange
63cd9c972b Always create a running allocation when testing task state 2018-12-13 07:39:16 -08:00
Michael Lange
a1d5f127e3 Merge pull request #4860 from hashicorp/b-ui-allocation-detail-empty-state
UI: Allocation detail empty state
2018-11-19 12:43:39 -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
654611ea9a Merge pull request #4850 from hashicorp/f-ui-links-on-error-pages
UI: Escape hatch links on error pages
2018-11-19 12:17:36 -08:00
Michael Lange
5801b79b81 Show the correct template for parameterized job children 2018-11-07 21:04:27 -08:00
Michael Lange
d49631bb8a Test coverage for error page escape hatch links 2018-11-07 16:19:45 -08:00
Michael Lange
25101789de Merge pull request #4841 from hashicorp/f-ui-error-handling-on-all-pages
UI: Error handling on all pages
2018-11-07 11:16:06 -08:00
Michael Lange
7af84f347a Merge pull request #4801 from hashicorp/b-ui-proper-task-group-breadcrumb
UI: Proper task group breadcrumb on the allocation pages
2018-11-06 16:41:46 -08:00
Michael Lange
11ba511471 Handle the job 404 error case on the other job sub pages 2018-11-05 16:06:08 -08:00
Michael Lange
cb5bd66dd6 Handle the job 404 error case in versions 2018-11-05 15:42:04 -08:00
Michael Lange
1226a079f9 Handle the job 404 case in the job definition route 2018-11-05 15:20:31 -08:00
Michael Lange
1e00702624 Handle the job 404 case in task group routes 2018-11-02 19:25:50 -07:00
Michael Lange
4e36c52935 Test coverage for breadcrumb qp change 2018-10-31 13:27:35 -07:00
Michael Lange
b00916ac17 Test coverage for resetPagination 2018-10-30 14:17:23 -07: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
130e951a37 Merge pull request #4600 from hashicorp/f-ui-job-writes
UI: Job Writes
2018-08-30 10:41:14 -07:00
Michael Lange
12bdfbdf47 Switch token storage to localStorage from sessionStorage 2018-08-28 10:05:15 -07:00
Michael Lange
e8db71a065 Acceptance tests for the edit behaviors on the job definition page 2018-08-23 10:26:20 -07:00
Michael Lange
c1d44fb059 Rewrite the job run acceptance tests to be about routing 2018-08-23 09:00:47 -07:00
Michael Lange
2d0805c453 Test coverage for scheduler dry-run addition to the plan page 2018-08-20 16:44:37 -07:00
Michael Lange
9e584e6486 Specialized No Leader error page 2018-08-20 14:11:50 -07:00
Michael Lange
a5d6790eba Acceptance tests for job run page 2018-08-16 17:22:58 -07:00
Michael Lange
3b8b894ffd Acceptance test for the jobs list page 2018-08-15 17:12:18 -07:00
Michael Lange
3192267039 Use the model hook and setupController hook instead of afterModel
This is a more idiomatic way to handle the QP resetting in the
application controller.
2018-08-13 16:18:06 -07:00
Michael Lange
95e8259447 Acceptance tests for the region switcher 2018-08-10 12:52:05 -07:00
Michael Lange
4715696959 Clear up the data flow for namespaces
This is incredibly tricky with query params, since there is a bundle of
timing issues, lifecycle issues, missing features, and all around
gotchas with query params.

This solution has no observers and no instances of the system service
being set from the jobs controller.

The upside to this is no observers, much easier to follow logic, no more
dependent key chain reactions.
2018-08-09 18:22:38 -07:00
Michael Lange
32c321abbf Keep the search box around when a search yields no results 2018-08-06 11:02:22 -07:00
Michael Lange
29fcece8e7 Test coverage for the jobs/:job/allocations page 2018-08-06 11:02:22 -07:00
Michael Lange
a0148600a6 Refactor allocations page as a component 2018-08-06 11:02:21 -07:00
Michael Lange
137fbccb3d Remove the name column and add a created column to allocation rows 2018-08-06 10:59:35 -07:00
Michael Lange
0daeb09fd8 Update deployment test to reflect new progress-by column 2018-07-17 13:28:29 -07:00