Commit Graph

202 Commits

Author SHA1 Message Date
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
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
11bc25b1b3 Merge pull request #4533 from hashicorp/f-ui-refactor-page-chrome
UI: Refactor page chrome
2018-08-06 10:50:03 -07:00
Michael Lange
087f4a9ebc Test coverage for the expanded feature set of the latest-deployment component 2018-07-30 15:31:31 -07:00
Michael Lange
6fe8356d1c Give the running-deployment component a more appropriate name 2018-07-30 15:31:31 -07:00
Michael Lange
7aeba8007e Use page-layout for job routes 2018-07-30 13:13:52 -07:00
Michael Lange
d0c76b844a Remove all references to onNamespaceChange 2018-07-30 13:13:52 -07:00
Michael Lange
0daeb09fd8 Update deployment test to reflect new progress-by column 2018-07-17 13:28:29 -07:00
Michael Lange
af14f7230c Test coverage for summary toggle 2018-07-13 10:26:46 -07:00
Michael Lange
fddab7b199 Consistently use PageObjects now that they all exist 2018-07-11 12:42:43 -07:00
Michael Lange
5ed4b3482a Eslint cleanup 2018-07-11 12:35:39 -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
f2e8286cd0 Use PageObject for namespace tests 2018-07-11 11:59:20 -07:00
Michael Lange
acfea39930 Use PageObjects for application error tests 2018-07-11 11:41:34 -07:00
Michael Lange
3085e1ece2 Use PageObject for allocation detail tests 2018-07-11 11:27:23 -07:00
Michael Lange
68d10d309d Use PageObject for task group detail tests 2018-07-11 10:36:33 -07:00
Michael Lange
9d0a1b62bf Use PageObject for job versions tests 2018-07-11 09:49:44 -07:00
Michael Lange
ae10e4a808 Use PageObject for job evaluations tests 2018-07-11 09:37:58 -07:00
Michael Lange
4e6249681c Use PageObject for job deployments 2018-07-11 09:14:10 -07:00
Michael Lange
52411e40a2 Use PageObject for job definition tests 2018-07-10 19:33:22 -07:00