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
20028361c1
Use the TwoStepButton page object for integration testing too
2019-05-21 09:24:19 -07:00
Michael Lange
d33f4bfd49
Acceptance testing for allocation lifecycle
2019-05-21 09:24:19 -07:00
Michael Lange
69c6c34afa
Support task restarting in the allocation adapter
2019-05-21 09:24:17 -07:00
Michael Lange
b41af1c67a
Add cancel on click outside and disabled behaviors to two-step-button
2019-05-21 09:24:14 -07:00
Michael Lange
203b54b246
Move addToPath to its own util
2019-05-20 11:52:47 -07:00
Michael Lange
3c1de2df91
Standardize on Abort over Cancel
2019-05-20 11:08:16 -07:00
Michael Lange
c68962078a
Replace the adapter cancellation methods with a cancellation token system
2019-05-20 10:29:22 -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
Conor Mongey
aa4c1288f3
Return a htmlSafe string rather than use triple curlies
2019-05-02 21:47:24 +01:00
Michael Lange
4166a715fb
Updated serializer unit tests
2019-04-22 17:20:52 -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
c7e1598ed3
Preemption modeling as page objects
2019-04-22 16:40:08 -07:00
Michael Lange
d4ae0a2819
Integration test for the alloc row icon
2019-04-22 16:40:07 -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
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
bebc9b8f11
Fix integration tests that had test failures
2019-04-10 14:54:33 -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
f959aa8eee
Adapt the codemirror helper for the hooks model
2019-04-10 14:54:33 -07:00
Michael Lange
f3acad360e
Fix scoping issue with the jobs list page object
2019-04-10 14:54:33 -07:00
Michael Lange
acddf2b8ad
Update the test index.html file
2019-04-10 14:54:32 -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
2d6aaaa837
Update test-helper to new testing style
2019-04-10 14:54:32 -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
a0e8eef7b5
Modules codemod + prettier
2019-04-10 14:46:55 -07:00
Michael Lange
71bcfaa0aa
Upgrade to Ember 3.0
2019-04-10 14:46:54 -07:00
Michael Lange
afa35298f4
Fix deprecations
2019-04-10 14:46:53 -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
49088a3d29
Model facets in the page object
2019-04-10 10:34:10 -05:00
Michael Lange
2808671c78
Support for the no options case
2019-04-10 10:34:10 -05:00
Michael Lange
70426ad2cd
Test coverage for the multi-select-dropdown component
2019-04-10 10:34:10 -05: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
cc1b83c980
Update tests that check time and date formatting
2019-02-01 09:19:28 -08:00
Michael Lange
5084eda866
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
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