Commit Graph

60 Commits

Author SHA1 Message Date
Michael Lange
4166a715fb Updated serializer unit tests 2019-04-22 17:20:52 -07:00
Michael Lange
4c9a026e55 Rethink the adapter job unit tests to avoid notifyPropertyChange 2019-04-10 14:54:36 -07:00
Michael Lange
cf44c5449c Address test failures 2019-04-10 14:54:35 -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
1e669bb56b Fix bug in the stats-tracker-frame-mising behavior 2019-04-10 14:54:33 -07:00
Michael Lange
a35fd98a04 Update serializer unit tests to use module instead of custom code 2019-04-10 14:54:32 -07:00
Michael Lange
31dc139945 Update adapter tests to use module instead of custom code 2019-04-10 14:54:32 -07:00
Michael Lange
9cc9fa84f2 Fix a bunch of snowflake situations the codemod missed 2019-04-10 14:54:31 -07:00
Michael Lange
90278bff04 Ember QUnit Codemod 2019-04-10 14:54:30 -07:00
Michael Lange
a0e8eef7b5 Modules codemod + prettier 2019-04-10 14:46:55 -07:00
Michael Lange
afa35298f4 Fix deprecations 2019-04-10 14:46:53 -07:00
Michael Lange
a0e893ed84 Reattach resources to stats trackers in the event they were destroyed 2019-03-29 16:09:14 -07:00
Michael Lange
8909046f15 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
f2b4fbcbe8 Don't use Ember.get in conjunction with dynamic strings in the allocation serializer 2018-12-13 07:53:37 -08:00
Michael Lange
2a554e3954 Don't use Ember.get in conjunction with dynamic strings in the node serializer 2018-12-13 07:53:37 -08:00
Michael Lange
c3fdeb3fa6 Don't use Ember.get in conjunction with dynamic strings in the deployment serializer 2018-12-13 07:53:37 -08:00
Michael Lange
3a07f68d4f 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
7143b3048b Don't use Ember.get in conjunction with dynamic strings in the evaluation serializer 2018-12-13 07:53:37 -08:00
Michael Lange
104be1cad6 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
b5348aacf0 Add missing module dependencies to the node adapter tests 2018-11-09 14:25:32 -08:00
Michael Lange
333e76ba73 Test coverage for frame misses 2018-11-06 16:17:21 -08:00
Michael Lange
b00916ac17 Test coverage for resetPagination 2018-10-30 14:17:23 -07:00
Michael Lange
9a6d2bee10 Add a longForm option to format-duration 2018-09-27 12:55:17 -07:00
Michael Lange
47ec74eb3a Update stat tracker unit tests 2018-09-19 19:30:18 -07:00
Michael Lange
01195a810c Unit tests for the stats trackers service 2018-09-19 15:33:29 -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
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
9367fff5dc Unit tests for the breadcrumbs service 2018-07-06 11:12:12 -07:00
Michael Lange
fc0e723d75 A test to assert the bug 2018-07-05 13:49:27 -07:00
Michael Lange
877910208f Don't put namespace logic in the catch-all buildQuery method 2018-07-05 12:29:29 -07:00
Michael Lange
83e0b10451 Account for the 0 case in format-duration 2018-05-30 14:30:45 -07:00
Michael Lange
4d00f2f46d 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
20bc6e45c5 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
37a235c2af Acceptance tests for node driver and node events 2018-05-25 10:15:24 -07:00
Michael Lange
f160f70f04 Add a test to assert that canceling GETs can't instead cancel DELETEs 2018-05-25 09:13:18 -07:00
Michael Lange
e5ba6eb94e Test coverage for the changes to the searchable mixin 2018-04-23 16:49:04 -07:00
Michael Lange
c06e1f80bd Track multiple xhrs per URL rather than overriding
It was possible for a url to be overridden then canceled, leaving the
open connection open and forgotten about.
2018-03-29 14:40:57 -07:00
Michael Lange
44922c9d3a The initial index value should be 1, not 0 2018-03-21 13:28:56 -07:00
Michael Lange
40977d82f7 Patch tests 2018-03-05 09:32:05 -08:00
Michael Lange
47dad64cab Add tests for findHasMany store culling 2018-03-02 16:21:37 -08:00
Michael Lange
7c51270876 Add tests for findAll store culling 2018-03-02 16:21:37 -08:00
Michael Lange
504ff2d4b7 Tests for watching and canceling requests 2018-03-02 16:21:37 -08:00