Commit Graph

44 Commits

Author SHA1 Message Date
Buck Doyle
5eddb14a33 Add component accessibility auditing and fixes (#8679)
This continues #8455 by adding accessibility audits to component integration
tests and fixing associated errors. It adds audits to existing tests rather than
adding separate ones to facilitate auditing the various permutations a
component’s rendering can go through.

It also adds linting to ensure audits happen in component tests. This
necessitated consolidating test files that were scattered.
2020-08-25 10:56:02 -05:00
Michael Lange
3c8a7d3daf Always show the scaling events accordion 2020-08-24 10:34:34 -07:00
Michael Lange
339bccbeb0 Add missing word "two" to test name
Co-authored-by: Buck Doyle <buck@hashicorp.com>
2020-08-06 15:43:29 -07:00
Michael Lange
eb7a4f2fe3 Conditionally show the scaling timeline or accordion 2020-08-05 12:02:22 -07:00
Michael Lange
cc44bc41e5 Acceptance tests for scaling events 2020-07-29 19:07:24 -07:00
Michael Lange
4e01b2c35e Load and watch the job scale endpoint on the task group page 2020-07-29 19:07:24 -07:00
Buck Doyle
9d190a643e Add acceptance test accessibility auditing and fixes (#8455)
This introduces ember-a11y-testing to acceptance tests via a helper
wrapper that allows us to globally ignore rules that we can address
separately. It also adds fixes for the aXe rules that were failing.
2020-07-28 12:59:14 -05:00
Michael Lange
61042e0ecf Acceptance tests for task group scaling 2020-06-18 23:23:03 -07:00
Jasmine Dahilig
c10ac6394f UI: Add representations for task lifecycles (#7659)
This adds details about task lifecycles to allocations, task groups,
and tasks. It includes a live-updating timeline-like chart on allocations.
2020-04-30 08:15:19 -05:00
Michael Lange
990e723c2e Apply the page size select behavior to the other pages with the page size selector 2020-04-02 12:50:37 -07:00
Michael Lange
75e9d6ce11 Test coverage for the volume table on the task group page 2020-02-13 17:11:37 -08:00
Michael Lange
0733c1e86e Test coverage for change in resource rows 2020-02-13 17:11:30 -08:00
Buck Doyle
3adb3cd1fe ui: Change Run Job availability based on ACLs (#5944)
This builds on API changes in #6017 and #6021 to conditionally turn off the
“Run Job” button based on the current token’s capabilities, or the capabilities
of the anonymous policy if no token is present.

If you try to visit the job-run route directly, it redirects to the job list.
2020-01-20 14:57:01 -06:00
Buck Doyle
7fcfdab316 UI: Update Mirage to 1.1.2 (#6166) 2019-09-26 13:47:07 -05:00
Buck Doyle
87d716ed0b 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
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
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
cc1b83c980 Update tests that check time and date formatting 2019-02-01 09:19:28 -08:00
Michael Lange
25a29cb4ee Conditionally show utilization metrics on alloc and task rows 2018-12-13 07:53:17 -08:00
Michael Lange
1e00702624 Handle the job 404 case in task group routes 2018-11-02 19:25:50 -07:00
Michael Lange
137fbccb3d Remove the name column and add a created column to allocation rows 2018-08-06 10:59:35 -07:00
Michael Lange
5ed4b3482a Eslint cleanup 2018-07-11 12:35:39 -07:00
Michael Lange
68d10d309d Use PageObject for task group detail tests 2018-07-11 10:36:33 -07:00
Michael Lange
954d1283e1 Update tests to match new test selectors 2018-07-06 11:12:12 -07:00
Michael Lange
37a235c2af Acceptance tests for node driver and node events 2018-05-25 10:15:24 -07:00
Michael Lange
80c5c16f79 Acceptance tests for allocation rescheduling 2018-05-04 19:36:54 -07:00
Michael Lange
39f9914733 Get client stats through the server agent 2018-02-26 12:23:47 -08:00
Michael Lange
4c36907505 Use data-test- selectors in acceptance tests 2018-01-17 09:03:59 -08:00
Michael Lange
dbdbde4f9a Replace custom breadcrumbs CSS with new Bulma provided CSS 2018-01-17 09:03:59 -08:00
Michael Lange
2e19c2d877 Use the new ember modules imports
Generated with a codemode:
https://github.com/ember-cli/ember-modules-codemod
2018-01-17 09:02:04 -08:00
Michael Lange
e982951f98 Use ModifyTime instead of ModifyIndex 2017-12-06 10:17:12 -08:00
Michael Lange
e9c71dd0df Rename nodes routes to client routes 2017-10-27 18:39:04 -07:00
Michael Lange
efbe06431f Update acceptance tests now that jobs are different 2017-10-23 17:42:36 -07:00
Michael Lange
20b8e39842 Don't rely on CpuStats.Percent
Just do the math client-side with TotalTicks and Reserved
2017-10-19 10:44:52 -07:00
Michael Lange
76bda0fb37 Add job version to allocation tables 2017-10-18 12:29:33 -07:00
Michael Lange
06f781db8d Update tests for the ModifyIndex column and sort change 2017-10-18 11:45:02 -07:00
Michael Lange
5055bc248d Show real usage numbers as tooltips 2017-10-17 10:17:42 -07:00
Michael Lange
c988de30c5 Empty state for allocations search on task group detail 2017-10-02 12:44:07 -07:00
Michael Lange
7dc62aec37 Migrate tests over to native helpers as much as possible 2017-09-26 11:59:41 -07:00
Michael Lange
bffdc874ff Demonstrate link in action table row bug 2017-09-26 11:59:41 -07:00
Alex Dadgar
ddc2efa4ac sync 2017-09-19 10:08:23 -05:00