Michael Lange
fdcc99674d
Fix bug in the stats-tracker-frame-mising behavior
2019-04-10 14:54:33 -07:00
Michael Lange
c367fb186a
Fix integration tests that had test failures
2019-04-10 14:54:33 -07:00
Michael Lange
5008ab4b8d
Fix page object issues with acceptance tests that couldn't be codemodded
2019-04-10 14:54:33 -07:00
Michael Lange
ea3243569a
Adapt the codemirror helper for the hooks model
2019-04-10 14:54:33 -07:00
Michael Lange
a793235f6a
Fix scoping issue with the jobs list page object
2019-04-10 14:54:33 -07:00
Michael Lange
f68f13acbe
Update the test index.html file
2019-04-10 14:54:32 -07:00
Michael Lange
e6b808f17a
Update serializer unit tests to use module instead of custom code
2019-04-10 14:54:32 -07:00
Michael Lange
3145f7ac32
Update adapter tests to use module instead of custom code
2019-04-10 14:54:32 -07:00
Michael Lange
8cf3e369f0
Update test-helper to new testing style
2019-04-10 14:54:32 -07:00
Michael Lange
e69d16b78d
Use mirage test hooks
2019-04-10 14:54:31 -07:00
Michael Lange
c1369c001d
Fix a bunch of snowflake situations the codemod missed
2019-04-10 14:54:31 -07:00
Michael Lange
517ef97343
Ember test-helpers codemod
2019-04-10 14:54:31 -07:00
Michael Lange
a356ab5477
Ember QUnit Codemod
2019-04-10 14:54:30 -07:00
Michael Lange
5befd8b85d
Modules codemod + prettier
2019-04-10 14:46:55 -07:00
Michael Lange
6dc560519d
Upgrade to Ember 3.0
2019-04-10 14:46:54 -07:00
Michael Lange
a9fd8517d1
Fix deprecations
2019-04-10 14:46:53 -07:00
Michael Lange
e52b6be10f
Test coverage for clients faceted search
2019-04-10 10:34:10 -05:00
Michael Lange
5e05408ae3
Test coverage for job list facets
2019-04-10 10:34:10 -05:00
Michael Lange
3f6bbfa8ff
Model facets in the page object
2019-04-10 10:34:10 -05:00
Michael Lange
40b1857632
Support for the no options case
2019-04-10 10:34:10 -05:00
Michael Lange
fd34f7aa2c
Test coverage for the multi-select-dropdown component
2019-04-10 10:34:10 -05:00
Michael Lange
5bfd1d0ddd
Reattach resources to stats trackers in the event they were destroyed
2019-03-29 16:09:14 -07:00
Michael Lange
91d8baa64e
Update tests that check time and date formatting
2019-02-01 09:19:28 -08:00
Michael Lange
fa4333056c
Merge pull request #4981 from hashicorp/b-ui-hide-stats-graphs-for-non-running-resources
...
UI: Hide stats graphs for non running resources
2018-12-18 11:15:39 -08:00
Michael Lange
d83be97d78
Don't use Ember.get in conjunction with dynamic strings in the job-plan serializer
2018-12-13 07:53:37 -08:00
Michael Lange
5902842d6b
Don't use Ember.get in conjunction with dynamic strings in the allocation serializer
2018-12-13 07:53:37 -08:00
Michael Lange
7b466f9f60
Don't use Ember.get in conjunction with dynamic strings in the node serializer
2018-12-13 07:53:37 -08:00
Michael Lange
13b7434eca
Don't use Ember.get in conjunction with dynamic strings in the deployment serializer
2018-12-13 07:53:37 -08:00
Michael Lange
a00544e302
Don't use Ember.get in conjunction with dynamic strings in the job-summary serializer
2018-12-13 07:53:37 -08:00
Michael Lange
b5c11b4e43
Don't use Ember.get in conjunction with dynamic strings in the evaluation serializer
2018-12-13 07:53:37 -08:00
Michael Lange
7d76b6a59f
Test coverage for resource graph empty states
2018-12-13 07:53:17 -08:00
Michael Lange
6f2e5d49f0
Test coverage for allocation rows
2018-12-13 07:53:17 -08:00
Michael Lange
71a06a6b7f
Conditionally show utilization metrics on alloc and task rows
2018-12-13 07:53:17 -08:00
Michael Lange
3b044816ac
Always create a running allocation when testing task state
2018-12-13 07:39:16 -08:00
Michael Lange
795ea7eade
Grow the default 0 to 1 bounds to the domain of the data when necessary
2018-12-05 22:07:44 -08:00
Michael Lange
fd35d37f43
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
796967c58d
Add an empty state to the allocation detail task list
2018-11-19 12:18:14 -08:00
Michael Lange
b252ede5b6
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
4e21366714
Merge pull request #4852 from hashicorp/b-ui-dispatched-job-page
...
UI: Show the correct template for dispatched jobs
2018-11-09 14:36:35 -08:00
Michael Lange
ec21bab24d
Merge pull request #4833 from hashicorp/b-ui-gracefully-handle-stat-errors
...
UI: Gracefully handle stat errors
2018-11-09 14:35:48 -08:00
Michael Lange
7c9c099bf0
Add missing module dependencies to the node adapter tests
2018-11-09 14:25:32 -08:00
Michael Lange
8e18903996
Show the correct template for parameterized job children
2018-11-07 21:04:27 -08:00
Michael Lange
f3110f978e
Test coverage for error page escape hatch links
2018-11-07 16:19:45 -08:00
Michael Lange
ab06a22954
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
46fd35c84c
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
80ab0f56cf
Test coverage for frame misses
2018-11-06 16:17:21 -08:00
Michael Lange
d4c6a698c3
Handle the job 404 error case on the other job sub pages
2018-11-05 16:06:08 -08:00
Michael Lange
af24546644
Handle the job 404 error case in versions
2018-11-05 15:42:04 -08:00
Michael Lange
2925285f00
Handle the job 404 case in the job definition route
2018-11-05 15:20:31 -08:00
Michael Lange
8ef22a06fe
Handle the job 404 case in task group routes
2018-11-02 19:25:50 -07:00
Michael Lange
7cd8179637
Test coverage for breadcrumb qp change
2018-10-31 13:27:35 -07:00
Michael Lange
b2acd381f9
Test coverage for resetPagination
2018-10-30 14:17:23 -07:00
Michael Lange
aeea4076b7
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
866b74be19
Add a longForm option to format-duration
2018-09-27 12:55:17 -07:00
Michael Lange
9b90683e6b
Use the StatsTracker method of getting alloc stats in alloc row
2018-09-26 10:59:26 -07:00
Michael Lange
c694fcb0ba
Update stat tracker unit tests
2018-09-19 19:30:18 -07:00
Michael Lange
09497b20b8
Acceptance test coverage for all the pages with resource utilization graphs
2018-09-19 16:33:51 -07:00
Michael Lange
46936b6091
Unit tests for the stats trackers service
2018-09-19 15:33:29 -07:00
Michael Lange
18b18da49f
Integration tests for the primary-metric component
2018-09-19 14:15:32 -07:00
Michael Lange
4a2b9cc153
Merge pull request #4661 from hashicorp/f-ui-line-chart
...
UI: line chart
2018-09-13 16:59:20 -07:00
Michael Lange
105d4aea79
Unit test coverage for the stats-time-series chart
2018-09-13 16:45:56 -07:00
Michael Lange
659e19303c
Unit test coverage for the line chart component
2018-09-13 16:45:56 -07:00
Michael Lange
f15e3ba0c2
Test coverage for NodeStatsTracker
2018-09-11 16:27:06 -07:00
Michael Lange
3d761b7347
Unit Tests for AllocationStatsTracker
2018-08-31 14:39:22 -07:00
Michael Lange
416de6c32a
Unit tests for RollingArray
2018-08-31 14:39:22 -07:00
Michael Lange
33da5ed14f
Merge pull request #4600 from hashicorp/f-ui-job-writes
...
UI: Job Writes
2018-08-30 10:41:14 -07:00
Michael Lange
ebe0e97b1a
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
3c2e7b7dd3
Merge pull request #4616 from hashicorp/f-ui-promote-canary
...
UI: Promote canary
2018-08-30 09:48:31 -07:00
Michael Lange
62e9cf268b
Test coverage for the promote canary feature
2018-08-30 09:38:29 -07:00
Michael Lange
37acc77c9c
Add a confirmation loading state to the two-step-button component
2018-08-28 11:27:00 -07:00
Michael Lange
18d5efce1e
Test coverage for the Start Job behavior
2018-08-28 11:27:00 -07:00
Michael Lange
0eb5e61e36
Switch token storage to localStorage from sessionStorage
2018-08-28 10:05:15 -07:00
Michael Lange
0fb7fea825
Acceptance tests for the edit behaviors on the job definition page
2018-08-23 10:26:20 -07:00
Michael Lange
4484c28e07
Rewrite the job run acceptance tests to be about routing
2018-08-23 09:00:47 -07:00
Michael Lange
b5b4a979f9
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
e60b16a7e0
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
3cee992a97
Test coverage for scheduler dry-run addition to the plan page
2018-08-20 16:44:37 -07:00
Michael Lange
9cab82146c
Show the scheduler dry-run output on the plan page
2018-08-20 16:44:37 -07:00
Michael Lange
8ed04e64fe
Specialized No Leader error page
2018-08-20 14:11:50 -07:00
Michael Lange
2e35687a1d
Acceptance tests for job run page
2018-08-16 17:22:58 -07:00
Michael Lange
1d3bf6bdea
New Page Object component for common error formatting
2018-08-16 10:57:56 -07:00
Michael Lange
e634a98102
New PageObject helper for getting and setting CodeMirror values
2018-08-16 10:57:13 -07:00
Michael Lange
9fb8964c00
New test helper for getting the underlying CodeMirror instance from a dom selector
2018-08-16 10:56:37 -07:00
Michael Lange
a96c4508d6
Acceptance test for the jobs list page
2018-08-15 17:12:18 -07:00
Michael Lange
8ca806f8f8
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
104e5196a6
Acceptance tests for the region switcher
2018-08-10 12:52:05 -07:00
Michael Lange
3d89cb503b
Unit test coverage for adding the region param to requests
2018-08-09 20:27:54 -07:00
Michael Lange
8631fecc37
Update tests to handle region switching
2018-08-09 18:22:39 -07:00
Michael Lange
93f41278b1
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
35250117cf
Account for the service:system dependency due to region
2018-08-09 18:22:38 -07:00
Michael Lange
b9fa9a98bc
Test coverage for gutter menu interactions
2018-08-06 11:21:54 -07:00
Michael Lange
54b838d934
Keep the search box around when a search yields no results
2018-08-06 11:02:22 -07:00
Michael Lange
5042896fab
Test coverage for the jobs/:job/allocations page
2018-08-06 11:02:22 -07:00
Michael Lange
e774163360
Tests for the recent allocations table
2018-08-06 11:02:21 -07:00
Michael Lange
9dcaafa0de
Refactor allocations page as a component
2018-08-06 11:02:21 -07:00
Michael Lange
de80f65efe
Remove the name column and add a created column to allocation rows
2018-08-06 10:59:35 -07:00
Michael Lange
f0ab8a231f
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
dad24eef86
Test coverage for the expanded feature set of the latest-deployment component
2018-07-30 15:31:31 -07:00
Michael Lange
c0966f7cc1
Give the running-deployment component a more appropriate name
2018-07-30 15:31:31 -07:00
Michael Lange
9c9bedf53d
Use page-layout for job routes
2018-07-30 13:13:52 -07:00
Michael Lange
393b39d259
Remove all references to onNamespaceChange
2018-07-30 13:13:52 -07:00
Michael Lange
0d6881c4ff
Update deployment test to reflect new progress-by column
2018-07-17 13:28:29 -07:00
Michael Lange
591ddaa93e
Test coverage for summary toggle
2018-07-13 10:26:46 -07:00
Michael Lange
8154d68b95
Consistently use PageObjects now that they all exist
2018-07-11 12:42:43 -07:00
Michael Lange
f74694b0a0
Eslint cleanup
2018-07-11 12:35:39 -07:00
Michael Lange
79cbc4066f
Use PageObject for task logs tests
2018-07-11 12:31:37 -07:00
Michael Lange
c1a4b68fee
Use PageObject for task detail tests
2018-07-11 12:21:26 -07:00
Michael Lange
686ae57310
Use PageObject for namespace tests
2018-07-11 11:59:20 -07:00
Michael Lange
69667ead86
Use PageObjects for application error tests
2018-07-11 11:41:34 -07:00
Michael Lange
5a4de18401
Use PageObject for allocation detail tests
2018-07-11 11:27:23 -07:00
Michael Lange
3fa288f852
Use PageObject for task group detail tests
2018-07-11 10:36:33 -07:00
Michael Lange
266850b3f8
Use PageObject for job versions tests
2018-07-11 09:49:44 -07:00
Michael Lange
2d9aeae23c
Use PageObject for job evaluations tests
2018-07-11 09:37:58 -07:00
Michael Lange
538eaad27b
Use PageObject for job deployments
2018-07-11 09:14:10 -07:00
Michael Lange
2013cd7bb7
Use PageObject for job definition tests
2018-07-10 19:33:22 -07:00
Michael Lange
6611e2b2d6
Adds missing test for evaluations tab
2018-07-10 19:28:54 -07:00
Michael Lange
22f472066a
Use PageObjects for job detail tests
2018-07-10 19:20:02 -07:00
Michael Lange
0d45f6f842
Use PageObject for jobs list tests
2018-07-10 18:42:19 -07:00
Michael Lange
87de789994
Use PageObject for client detail tests
2018-07-10 18:13:50 -07:00
Michael Lange
54907f13e8
Use PageObject for clients list tests
2018-07-10 11:29:00 -07:00
Michael Lange
7aae717374
Use PageObject for tokens test
2018-07-10 11:29:00 -07:00
Michael Lange
ba934bd60b
Fix bad line-endings due to generator
2018-07-10 11:29:00 -07:00
Michael Lange
41b36a623f
Use PageObject for server-detail tests
2018-07-10 11:29:00 -07:00
Michael Lange
a873e8f1eb
Use PageObject for servers-list tests
2018-07-10 11:28:59 -07:00
Michael Lange
32f1e06eb6
Rename nodes-list-test to clients-list-test to reflect its new state
2018-07-10 11:28:59 -07:00
Michael Lange
06b29f915b
Move servers list tests to their own file
2018-07-10 11:28:59 -07:00
Michael Lange
38b4d30272
Merge pull request #4458 from hashicorp/f-ui-refactor-breadcrumbs
...
UI: Refactor breadcrumbs
2018-07-10 11:01:28 -07:00
Michael Lange
9e07ba28df
Migrate and add test coverage for evaluations page
2018-07-06 17:15:59 -07:00
Michael Lange
c6e2f1c12e
Remove old evaluations component tests
2018-07-06 17:07:40 -07:00
Michael Lange
6e00633d77
Update all the awkward browserify imports to plain ol' es6 imports
2018-07-06 13:38:57 -07:00
Michael Lange
2e55afd8ff
Integration tests for the breadcrumbs component
2018-07-06 11:12:12 -07:00
Michael Lange
8a9cd74cce
Unit tests for the breadcrumbs service
2018-07-06 11:12:12 -07:00
Michael Lange
a045db8ce4
Update tests to match new test selectors
2018-07-06 11:12:12 -07:00
Michael Lange
686061cc9a
Acceptance test for jobs from different namespaces on a single client
2018-07-06 10:50:22 -07:00
Michael Lange
82e0fdbd27
A test to assert the bug
2018-07-05 13:49:27 -07:00
Michael Lange
8c1849fafe
Don't put namespace logic in the catch-all buildQuery method
2018-07-05 12:29:29 -07:00
Michael Lange
f2163568c9
Actually ensure that the allocation relies on an unhealthy driver
2018-06-13 16:33:47 -07:00
Michael Lange
ef2e49e82d
Merge pull request #4388 from hashicorp/f-ui-show-deployment-deadline
...
UI: Show deployment deadline for each task group in the running deployment
2018-06-07 08:55:53 -07:00
Michael Lange
73881a388c
Show the progress deadline for task groups in a running deployment
2018-06-06 17:35:18 -07:00
Michael Lange
ee093ffc16
Make task rows clickable.
...
Right now they are the only tables where the entire row isn't a
click-target to drill into the detail page.
2018-06-06 14:50:28 -07:00
Michael Lange
bd9d2c50d8
Remove test for removed behavior
2018-06-04 16:40:55 -07:00
Michael Lange
8b364c1e27
Use the network ip as the task address instead of the node ip
2018-06-04 15:34:16 -07:00
Michael Lange
1fd5035d9e
Merge pull request #4353 from hashicorp/f-ui-node-drain
...
UI: Node drain and eligibility
2018-05-30 14:40:21 -07:00
Michael Lange
e472d918cf
Account for the 0 case in format-duration
2018-05-30 14:30:45 -07:00
Michael Lange
b6f2b82fad
Merge pull request #4335 from hashicorp/b-ui-safari-log-streaming
...
UI: Use polling instead of streaming for following logs in Safari
2018-05-30 11:36:03 -07:00
Michael Lange
65edf31ec9
Acceptance testing for node drain information
2018-05-30 11:27:21 -07:00
Michael Lange
cdbca8dcd2
Duration formatting utility
...
The cloest Moment.js has is "homanize" which isn't precise enough.
2018-05-30 11:27:21 -07:00
Michael Lange
52e6c1e551
Merge pull request #4319 from hashicorp/b-ui-errant-acl-error
...
UI: XHR keys need to include the method as well
2018-05-25 12:24:17 -07:00
Michael Lange
65d696f038
Merge pull request #4294 from hashicorp/f-ui-driver-health-checking
...
UI: Driver health checking
2018-05-25 12:00:11 -07:00
Michael Lange
5f9632bee8
Acceptance tests for node driver and node events
2018-05-25 10:15:24 -07:00