Commit Graph

223 Commits

Author SHA1 Message Date
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
f02d99a2c0 Merge pull request #4718 from hashicorp/f-ui-a11y-line-chart
UI: Add some simple accessibility labels for line charts
2018-10-17 09:43:27 -07:00
Michael Lange
9a6d2bee10 Add a longForm option to format-duration 2018-09-27 12:55:17 -07:00
Michael Lange
65336ccd96 Use the StatsTracker method of getting alloc stats in alloc row 2018-09-26 10:59:26 -07:00
Michael Lange
47ec74eb3a Update stat tracker unit tests 2018-09-19 19:30:18 -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
01195a810c Unit tests for the stats trackers service 2018-09-19 15:33:29 -07:00
Michael Lange
0ede4c512e Integration tests for the primary-metric component 2018-09-19 14:15:32 -07:00
Michael Lange
5e2edf88f7 Merge pull request #4661 from hashicorp/f-ui-line-chart
UI: line chart
2018-09-13 16:59:20 -07:00
Michael Lange
efb1301638 Unit test coverage for the stats-time-series chart 2018-09-13 16:45:56 -07:00
Michael Lange
40861aaae3 Unit test coverage for the line chart component 2018-09-13 16:45:56 -07:00
Michael Lange
f8c8c3cec4 Test coverage for NodeStatsTracker 2018-09-11 16:27:06 -07:00
Michael Lange
405cf822d8 Unit Tests for AllocationStatsTracker 2018-08-31 14:39:22 -07:00
Michael Lange
d25c0d60b9 Unit tests for RollingArray 2018-08-31 14:39:22 -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
334358ad24 Merge pull request #4615 from hashicorp/f-ui-restart-stopped-job
UI: Restart stopped job
2018-08-30 09:49:14 -07:00
Michael Lange
d824b70cee Merge pull request #4616 from hashicorp/f-ui-promote-canary
UI: Promote canary
2018-08-30 09:48:31 -07:00
Michael Lange
c96c99aa37 Test coverage for the promote canary feature 2018-08-30 09:38:29 -07:00
Michael Lange
f79f037096 Add a confirmation loading state to the two-step-button component 2018-08-28 11:27:00 -07:00
Michael Lange
1b481a3b72 Test coverage for the Start Job behavior 2018-08-28 11:27:00 -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
6463efe2ce Test coverage for the job-editor component
Most of this was ported over from the existing job run acceptance tests
2018-08-23 09:00:14 -07:00
Michael Lange
4ae15be35e Since registerHelper doesn't work in integration tests a new way is needed
This exports a function that returns the pertinent function when given a
container. This way it works in registerHelper and in integration tests
beforeEach hooks
2018-08-22 17:34:25 -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
9b7b465a66 Show the scheduler dry-run output on 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
c6fa7575d1 New Page Object component for common error formatting 2018-08-16 10:57:56 -07:00
Michael Lange
3b5d96b234 New PageObject helper for getting and setting CodeMirror values 2018-08-16 10:57:13 -07:00
Michael Lange
875ba9971e New test helper for getting the underlying CodeMirror instance from a dom selector 2018-08-16 10:56:37 -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
ae464a01dc Unit test coverage for adding the region param to requests 2018-08-09 20:27:54 -07:00
Michael Lange
b767a87422 Update tests to handle region switching 2018-08-09 18:22:39 -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
7e6f02d0c0 Account for the service:system dependency due to region 2018-08-09 18:22:38 -07:00
Michael Lange
178642efe0 Test coverage for gutter menu interactions 2018-08-06 11:21:54 -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
f8504cb56f Tests for the recent allocations table 2018-08-06 11:02:21 -07:00