Michael Lange
c3b33b8420
Use the stream decode util and never opt to use the plain query param
2019-07-30 17:22:45 -07:00
Michael Lange
862d6f6da6
Move common stream frame decoding to a util
2019-07-30 17:22:44 -07:00
Buck Doyle
9f3754b46b
Merge branch 'master' into f-ui/alloc-fs
...
# Conflicts:
# ui/app/templates/allocations/allocation/task/index.hbs
# ui/app/templates/allocations/allocation/task/logs.hbs
2019-07-26 14:49:36 -05:00
Buck Doyle
5efedb35d1
UI: Add allocation directory sorting ( #5914 )
...
When sorting by size, directories are sorted by name, as size
isn’t displayed.
This includes a change to the positioning of sort arrows for all tables,
moving them closer to the text, because in some cases, the arrows
for right-aligned columns were ambiguously positioned.
2019-07-23 15:37:34 -05:00
Buck Doyle
354b4c830f
UI: Remove ember-native-dom-helpers ( #5959 )
...
This also includes migration of some tests to async.
2019-07-23 14:40:32 -05:00
Buck Doyle
90c9b89b5e
UI: Add page titles ( #5924 )
...
This uses ember-page-title to add dynamic page titles throughout the
route hierarchy. When there’s more than one region, the current
current region is added before the final entry of “- Nomad”.
2019-07-17 15:02:58 -05:00
Buck Doyle
9322dfc46f
UI: Add copy button for client/allocation UUIDs ( #5926 )
...
The button shows a success icon and tooltip on click, and resets
after two seconds.
2019-07-15 12:14:32 -05:00
Buck Doyle
4edd1d78c1
Remove superfluous test attributes ( #5927 )
...
I found while working on #5926 that x-icon already adds
assertion-compatible selectors, so these wrappers are
unnecessary.
2019-07-08 10:36:56 -05:00
Buck Doyle
595eb480ba
UI: Add allocation directory rendering ( #5873 )
...
This lets users navigate the allocation filesystem. It doesn’t
support viewing actual files yet.
2019-07-02 16:42:38 -05:00
Michael Lange
a29ed35811
Test support and coverage for fs routing
2019-06-20 15:20:15 -07:00
Buck Doyle
a2b80bebe6
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
b0d6517297
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
b330321e44
Use the TwoStepButton page object for integration testing too
2019-05-21 09:24:19 -07:00
Michael Lange
c485bc64fb
Acceptance testing for allocation lifecycle
2019-05-21 09:24:19 -07:00
Michael Lange
8d31474fdc
Support task restarting in the allocation adapter
2019-05-21 09:24:17 -07:00
Michael Lange
7933a41782
Add cancel on click outside and disabled behaviors to two-step-button
2019-05-21 09:24:14 -07:00
Michael Lange
96a1a5e812
Move addToPath to its own util
2019-05-20 11:52:47 -07:00
Michael Lange
084c4cc95f
Standardize on Abort over Cancel
2019-05-20 11:08:16 -07:00
Michael Lange
c9220cb929
Replace the adapter cancellation methods with a cancellation token system
2019-05-20 10:29:22 -07:00
Michael Lange
14dca3830a
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
49afa42af3
Return a htmlSafe string rather than use triple curlies
2019-05-02 21:47:24 +01:00
Michael Lange
f530c2f5c1
Updated serializer unit tests
2019-04-22 17:20:52 -07:00
Michael Lange
35e34fea8b
Test coverage for preemption on the client detail page
2019-04-22 16:40:10 -07:00
Michael Lange
b7860a9bca
Test coverage for preemption on the allocation detail page
2019-04-22 16:40:09 -07:00
Michael Lange
29ccd8bcc5
Preemption modeling as page objects
2019-04-22 16:40:08 -07:00
Michael Lange
5124dfe30f
Integration test for the alloc row icon
2019-04-22 16:40:07 -07:00
Michael Lange
9358713560
Speed up slow acceptance tests with shallow jobs and generally less models
2019-04-11 20:08:43 -07:00
Michael Lange
fa90590462
Update everything to work with the mirage backwards incompat
2019-04-10 14:54:37 -07:00
Michael Lange
4b87e216ab
Rethink the adapter job unit tests to avoid notifyPropertyChange
2019-04-10 14:54:36 -07:00
Michael Lange
55ea01c1cc
Address test failures
2019-04-10 14:54:35 -07:00
Michael Lange
064f126e14
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
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