Buck Doyle
7fcfdab316
UI: Update Mirage to 1.1.2 ( #6166 )
2019-09-26 13:47:07 -05:00
Buck Doyle
e3d8e73124
UI: Restore proxy tag tests ( #6360 )
...
The recurring problem here was that sometimes the factories would
generate more than one task, and it was random whether the task
with the proxy task would be the first in the list. This ensures
that the proxy task is always first so the tests can run again.
2019-09-26 11:50:01 -05:00
Buck Doyle
9272cca7ab
UI: Remove proxy tag tests again ( #6359 )
...
I thought #6343 would fix the flapping but it didn’t 😞
2019-09-20 15:27:33 -05:00
Buck Doyle
05fd8a068c
UI: Fix Connect proxy tag ( #6343 )
...
This fixes a race condition in the pseudo-relationship between a
TaskState and a Task that was causing the Consul Connect proxy tag
to sometimes show on the wrong task. There’s no direct Ember Data-style
relationship between a TaskState and its Task; instead, it’s determined
by searching for a Task with the matching name. The related Task was
sometimes stored before everything was ready and not recalculated when
the name became known. This ensures the relationship is accurate if the
TaskState’s name property changes.
2019-09-19 08:09:49 -05:00
Buck Doyle
e41a7f6765
UI: Remove Connect proxy tag tests again ( #6284 )
...
This semi-reverts #6275 , as the tests are intermittently
failing in CI.
2019-09-05 14:34:47 -05:00
Buck Doyle
801cb32d07
UI: Restore Connect proxy tag tests ( #6275 )
...
These are the tests skipped in #6271 .
2019-09-05 14:09:32 -05:00
Buck Doyle
97150f9f42
UI: Move kind property to task ( #6271 )
...
I put this property in the wrong place.
I’ve found how to fix the mock API in the tests but
they’re failing to pass with headless Chrome only,
so they’re skipped for now.
2019-09-05 13:14:54 -05:00
Buck Doyle
b29d88556b
Add handling for not-running task filesystem query ( #6267 )
2019-09-04 17:38:26 -05:00
Buck Doyle
dfb88cc787
UI: add Consul Connect features ( #6108 )
2019-09-04 09:39:56 -05:00
Michael Lange
65aa4757b8
Use the standard empty state when a dir is empty
2019-08-19 17:16:26 -07:00
Michael Lange
354da0f60c
Merge pull request #6048 from hashicorp/f-ui/alloc-fs-files
...
UI: Alloc FS: File Viewer
2019-08-19 10:36:28 -07:00
Michael Lange
a321145457
Encode characters in file paths to ensure proper URIs
2019-08-14 12:54:11 -07:00
Michael Lange
ed55a7b09a
Test that the client is contacted correctly, and the server is used as a fallback
2019-08-07 17:35:43 -07:00
Buck Doyle
473ef7a662
Add page titles to filesystem routes ( #6024 )
2019-08-01 11:17:46 -05:00
Michael Lange
e277cc5308
Update factory-based fs tests to sort properly
2019-07-31 01:41:00 -07:00
Michael Lange
8f496e8b65
Refactor existing fs tests to use new mirage factories
2019-07-30 17:25:46 -07:00
Buck Doyle
c0ba4eeac9
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
f046ec31e5
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
1147fd6278
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
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
Buck Doyle
ee07bab099
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
d39d0f04c3
Test support and coverage for fs routing
2019-06-20 15:20:15 -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
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
d33f4bfd49
Acceptance testing for allocation lifecycle
2019-05-21 09:24:19 -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
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
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
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
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
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
cc1b83c980
Update tests that check time and date formatting
2019-02-01 09:19:28 -08:00
Michael Lange
bf9ff6ed8b
Test coverage for resource graph empty states
2018-12-13 07:53:17 -08:00
Michael Lange
25a29cb4ee
Conditionally show utilization metrics on alloc and task rows
2018-12-13 07:53:17 -08:00
Michael Lange
63cd9c972b
Always create a running allocation when testing task state
2018-12-13 07:39:16 -08:00
Michael Lange
a1d5f127e3
Merge pull request #4860 from hashicorp/b-ui-allocation-detail-empty-state
...
UI: Allocation detail empty state
2018-11-19 12:43:39 -08:00
Michael Lange
122a8a12e8
Add an empty state to the allocation detail task list
2018-11-19 12:18:14 -08:00
Michael Lange
654611ea9a
Merge pull request #4850 from hashicorp/f-ui-links-on-error-pages
...
UI: Escape hatch links on error pages
2018-11-19 12:17:36 -08:00
Michael Lange
5801b79b81
Show the correct template for parameterized job children
2018-11-07 21:04:27 -08:00
Michael Lange
d49631bb8a
Test coverage for error page escape hatch links
2018-11-07 16:19:45 -08:00
Michael Lange
25101789de
Merge pull request #4841 from hashicorp/f-ui-error-handling-on-all-pages
...
UI: Error handling on all pages
2018-11-07 11:16:06 -08:00
Michael Lange
7af84f347a
Merge pull request #4801 from hashicorp/b-ui-proper-task-group-breadcrumb
...
UI: Proper task group breadcrumb on the allocation pages
2018-11-06 16:41:46 -08:00
Michael Lange
11ba511471
Handle the job 404 error case on the other job sub pages
2018-11-05 16:06:08 -08:00