Commit Graph

79 Commits

Author SHA1 Message Date
Michael Lange
9e606f389c Always shutdown the mirage server 2018-02-06 10:53:53 -08:00
Michael Lange
de27385801 Inject system so namespace shows up on job detail components 2018-02-06 10:53:53 -08:00
Michael Lange
b7f57ec3b6 Integration test for periodic job force launch 2018-02-06 10:53:53 -08:00
Michael Lange
6e3086438c New module-for-job for acceptance testing job detail differences 2018-02-06 10:53:53 -08:00
Michael Lange
1671786e35 Tests for the task groups job page part 2018-02-06 10:53:53 -08:00
Michael Lange
82de00720e Tests for the summary job page part 2018-02-06 10:53:53 -08:00
Michael Lange
3ca0d64e0c Tests for the placement failures job part 2018-02-06 10:53:53 -08:00
Michael Lange
80c2acd218 Running deployment job page part tests 2018-02-06 10:53:52 -08:00
Michael Lange
88f1349276 Job part evaluations test 2018-02-06 10:53:52 -08:00
Michael Lange
e8606f7cc6 Job part children tests 2018-02-06 10:53:52 -08:00
Michael Lange
3907f39c9a Integration tests for the body job part 2018-02-06 10:53:52 -08:00
Michael Lange
d264c43eae State periodic or parameterized as the job type when applicable 2018-02-06 10:53:52 -08:00
Michael Lange
c4d8ebeb4f Merge pull request #3777 from johncowen/f-ui-api-task-events-messages
UI: Make task-events use the `message` from the API rather than hardcoded
2018-02-05 18:36:41 -08:00
John Cowen
6c6e373640 Remove vaultError, failedSibling and messagePassthru
1. `vaultError` and `failedSibling` are safe to remove see
https://github.com/hashicorp/nomad/blob/64e9cf9/nomad/structs/structs.go#L3979-L3986
2018-01-26 13:37:20 +00:00
John Cowen
74b14d0856 Address PR feedback
1. Extra whitespace
2. Remove redundant code
3. Remove redundant markup from test
4. placement-failure should be used as an inline component
5. Prefer `assign` polyfill
6. Use new `@ember' org style imports
2018-01-19 13:59:19 +00:00
John Cowen
3ce79e9337 Add more assertions for basic message checking 2018-01-19 13:59:19 +00:00
John Cowen
0a9faaa805 Add in data-test attrs to hook into, decide on test case granularity 2018-01-19 13:59:19 +00:00
John Cowen
2d1fd1e02e Pluralize test name for consistency (for filtering), inc test 2018-01-19 13:59:19 +00:00
John Cowen
1307970412 Move cleanWhitespace to utils, readd data-test attribute for PF's
1. cleanWhitespace > /test/utils/clean-whitespace.js
2. Missd the data-test attribute for placement failures in previous
conflict
2018-01-19 13:59:19 +00:00
John Cowen
f0363675ef Move placement failures to a component, begin separate integration tests
1. Simple move of placement-failures template code to a component
2. Start adding integration tests - hit `inc` surprise
2018-01-19 13:59:19 +00:00
Michael Lange
7526295e88 Use ember-test-selectors for integration tests 2018-01-17 09:03:59 -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
a78a2e333c Merge pull request #3607 from hashicorp/f-ui-modify-time-over-modify-index
UI Use ModifyTime instead of ModifyIndex in allocation lists
2017-12-07 14:25:28 -08:00
Michael Lange
e982951f98 Use ModifyTime instead of ModifyIndex 2017-12-06 10:17:12 -08:00
Michael Lange
a034708196 Remove UTC timezone tag 2017-12-05 19:12:18 -08:00
Michael Lange
b4ee45a2d6 Acceptance tests for evaluations 2017-11-29 20:12:45 -08:00
Michael Lange
ad6307933c Revert "UI Placement failures""
This reverts commits
141ecd8d91
d2d838c2de
8099db4336
86262b3cef
eb4104ec52
0e0e23e238
6d45658d77
b52a8176e8
2017-11-29 20:03:39 -08:00
Michael Lange
b52a8176e8 Acceptance tests for evaluations 2017-11-29 19:46:28 -08:00
Michael Lange
d930180c06 Unit tests for the log util 2017-11-21 11:22:43 -08:00
Michael Lange
a822849254 Fixes intermittent test failures 2017-11-21 11:22:42 -08:00
Michael Lange
0dce1ec659 Integration tests for the task-log component 2017-11-21 11:22:42 -08:00
Michael Lange
249d2a3a01 Acceptance tests for task logs 2017-11-21 11:22:42 -08:00
Michael Lange
f283287d40 Prevent using fetch or ReadableStream in tests
Until they can be mocked, they can't be used
2017-11-21 11:22:42 -08:00
Michael Lange
b3dc7364c5 Remold the allocation detail and task detail pages
Now that there is a task detail page, some of the content from
the allocation detail page is better suited there.
2017-11-14 11:08:51 -08:00
Michael Lange
d820c72142 Update allocation detail page to look like job and node 2017-11-14 11:05:29 -08:00
Michael Lange
e9c71dd0df Rename nodes routes to client routes 2017-10-27 18:39:04 -07:00
Michael Lange
88d30d55b6 Change app copy to say 'clients' instead of 'nodes' 2017-10-27 18:14:46 -07:00
Michael Lange
1f4b61f074 Merge pull request #3428 from hashicorp/b-ui-missed-the-deployment-allocs
Add modified and version headers to deployment allocation table
2017-10-25 10:31:20 -07:00
Michael Lange
7cac071fd5 Update the existing empty state messages to no longer mention tokens
There is no longer a way that these messages could show and tokens be the problem
2017-10-24 16:41:11 -07:00
Michael Lange
1b5f9e1b23 New test coverage for 403 handling on list pages 2017-10-24 16:41:11 -07:00
Michael Lange
b010638724 Merge pull request #3439 from hashicorp/b-ui-hide-deployments-tab-based-on-type
Don't show the deployments tab for non-service jobs
2017-10-24 16:39:47 -07:00
Michael Lange
8e40ec093b Merge pull request #3437 from hashicorp/f-ui-sort-server-tags
Sort server tags
2017-10-24 16:39:23 -07:00
Michael Lange
6e3eb5ff3f Don't show the deployments tab for non-service jobs
They can't have deployments, so the link makes no sense.
2017-10-24 12:35:29 -07:00
Michael Lange
aa5f8e4abf Sort server tags 2017-10-24 12:04:08 -07:00
Michael Lange
a08916865f On namespace change on a job detail page, redirect to /jobs
And reload jobs for the new namespace.
2017-10-23 17:42:36 -07:00
Michael Lange
a260ac3447 Temporarily skip unreliable test due to unloadAll 2017-10-23 17:42:36 -07:00
Michael Lange
efbe06431f Update acceptance tests now that jobs are different 2017-10-23 17:42:36 -07:00
Michael Lange
91ed1d5f6d Treat namespace and job name as a composite primary key 2017-10-23 17:42:36 -07:00