Commit Graph

945 Commits

Author SHA1 Message Date
Michael Lange
ece0c9038d Give the allTheThings scenario a better name 2019-06-19 17:18:43 -07:00
Michael Lange
8920650990 New Mirage scenario for puppeteer script to use 2019-06-19 17:18:40 -07:00
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
Buck Doyle
6c0080a252 Change sort arrow to pass through pointer events (#5833)
Without this, clicking on the sort arrow didn’t change the
sort direction.
2019-06-13 16:14:35 -05: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
a301e0f079 Restart a single task from the task detail page 2019-05-21 09:24:18 -07:00
Michael Lange
01a3450c08 Don't cancel watchers when transitioning to a sub-route 2019-05-21 09:24:18 -07:00
Michael Lange
3a8334e720 Watch the next allocation on the allocation index page 2019-05-21 09:24:17 -07:00
Michael Lange
69c6c34afa Support task restarting in the allocation adapter 2019-05-21 09:24:17 -07:00
Michael Lange
64b4bf6546 Add stop and restart buttons to the allocation index page 2019-05-21 09:24:16 -07:00
Michael Lange
4038434603 Allocation methods for stopping and restarting 2019-05-21 09:24:16 -07:00
Michael Lange
b33ff625db New with-headroom modifier for titles 2019-05-21 09:24:15 -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
Buck Doyle
caa410a64f Merge pull request #5715 from hashicorp/b-precommit-linting
Restore precommit linting
2019-05-15 16:44:19 -05:00
Buck Doyle
b1656d0e2d Restore precommit linting
The two pairs of quotes were causing no files to match.
2019-05-15 14:48:16 -05:00
Buck Doyle
3782919a48 Change clients/jobs facets to always right-align
This changes the templates so the element that contains
the search box is always present, instead hiding only
the box itself when there’s nothing to search. Keeping
the empty element lets it take up its flexbox space so
the facets will no longer be in the centre.
2019-05-15 13:25:30 -05: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
Conor Mongey
d2323e0cb8 Converts ANSI terminal codes to HTML in logs 2019-05-02 21:47:23 +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
4c773a1f3c Add preemption properties to Mirage allocation factory 2019-04-22 16:40:07 -07:00
Michael Lange
4752950cae Show which allocations an allocation preempted on the alloc page 2019-04-22 16:40:06 -07:00
Michael Lange
400deae4ce Show which alloc, if any, preempted an alloc on the alloc detail page 2019-04-22 16:40:05 -07:00
Michael Lange
7ae2081282 Preemptions count and filtering on client detail page
Show the count in the allocations table next to the existing total alloc
count badge. Clicking either will filter by all or by preemptions.
2019-04-22 16:40:04 -07:00
Michael Lange
a33b105181 Add preempted icon to alloc row 2019-04-22 16:40:04 -07:00
Michael Lange
dca386ca70 Make sure tooltips show up over the top of the side bar 2019-04-22 16:40:03 -07:00
Michael Lange
384a0e5a54 Add wasPreempted bool to allocs 2019-04-22 16:40:02 -07:00
Michael Lange
c456c5eed0 Show preemptions on the job plan phase of job submission 2019-04-22 16:40:01 -07:00
Michael Lange
cf1d4a3a1e Data modeling for preemptions 2019-04-22 16:40:00 -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
aba4882dcb Introduce the concept of 'shallow' job models in Mirage 2019-04-11 20:08:09 -07:00
Michael Lange
768bfdf87d Reduce the number of task groups and task events that are made 2019-04-11 18:15:35 -07:00
Michael Lange
54e89a5004 Upgrade to Node 10, latest LTS 2019-04-10 14:54:38 -07:00
Michael Lange
6cba965ff3 Don't remove viewBox from svgs as part of svgo 2019-04-10 14:54:38 -07:00
Michael Lange
3b5f7f637d Upgrade ember-concurrency 2019-04-10 14:54:38 -07:00
Michael Lange
514e8aae91 Major upgrade, ember-cli-sass; swiches to sass-dart 2019-04-10 14:54:38 -07:00
Michael Lange
513f882f1a Upgrade third party packages 2019-04-10 14:54:37 -07:00
Michael Lange
56500bd04b Upgrade eslint to v5 2019-04-10 14:54:37 -07:00
Michael Lange
a4c5410323 Upgrade ember addons 2019-04-10 14:54:37 -07:00
Michael Lange
baf5077a32 Manually upgrade fringe dependencies 2019-04-10 14:54:37 -07:00
Michael Lange
b0a65bdb62 Update everything to work with the mirage backwards incompat 2019-04-10 14:54:37 -07:00