Jai Bhagat
8533abde2e
fix: update eval serializer to latest changes
2022-01-28 10:16:23 -05:00
Jai Bhagat
ead706037d
ui: add assert.expect to a11y test
2022-01-28 09:47:23 -05:00
Jai Bhagat
3cc798d967
chore: fix js linting
2022-01-28 09:37:32 -05:00
Jai Bhagat
e5b154e295
feat: add pagination and filtering to evaluations view
2022-01-28 09:35:44 -05:00
Jai
ff9d39a6b3
Merge pull request #11942 from hashicorp/f-ui/test-tooling
...
ui: test tooling
2022-01-27 11:21:23 -05:00
Jai Bhagat
7e46fb319e
ui: replace qunit start tests with ember-exam start
2022-01-26 13:35:59 -05:00
Jai Bhagat
37886861e2
refact: extract setPolicy into utils
2022-01-26 12:06:18 -05:00
Jai Bhagat
2249722ec6
refact: fix tests after contextual job page changes
2022-01-26 11:31:18 -05:00
Jai Bhagat
be43976db0
ui: prettify remaining files
2022-01-26 11:28:21 -05:00
Jai Bhagat
6f32b9d62e
fix: no longer need gotoTaskGroup prop
2022-01-24 11:11:05 -05:00
Jai Bhagat
7c3ace8c41
test: add tests for not auth behavior for job-client-status-summary
2022-01-24 11:08:33 -05:00
Luiz Aoqui
ee83fb8bb1
ui: add "read client" ability
2022-01-24 11:05:48 -05:00
Jai Bhagat
43a0983a23
ui: prepare rebase for contextual job-page
2022-01-24 10:58:28 -05:00
Jai Bhagat
08bf4498a5
fix: mirage fixtures are randomized so we cant assert.expect
2022-01-20 10:55:36 -05:00
Jai Bhagat
52cf998e2c
ui: fix remaining linting errors
2022-01-20 10:39:02 -05:00
Jai Bhagat
3350f3fb11
ui: apply new qunit linting rules to tests
...
Async tests should use in integrations tests.
Acceptance tests are using Mirage and can't use
since we can't know the number of assertions.
2022-01-20 10:01:35 -05:00
Jai Bhagat
3a9057a89c
ui: prettify js files
2022-01-20 09:54:56 -05:00
Jai Bhagat
3cf01877a0
ui: upgrade prettier to match 3.28 ember-new-output
2022-01-20 09:46:50 -05:00
Jai Bhagat
88dd72a2ad
ui: disable no-string-protype-extensions where its currently in use
2022-01-20 09:46:49 -05:00
Jai Bhagat
c0aeb1803f
ui: replace this.render with render test-helper in tests
2022-01-20 09:46:49 -05:00
Jai Bhagat
c4bc5ab352
ui: fix auto-fixable linting errors
2022-01-20 09:46:45 -05:00
Luiz Aoqui
e2e229f659
ui: fix test ( #11870 )
2022-01-18 10:36:10 -05:00
Jai Bhagat
862bc0341c
test: add test stories for clicking allocation summary
2022-01-14 10:23:09 -05:00
Jai Bhagat
dc85cd29a9
refact: allocation and child summaries into ember-cli-page-object components
2022-01-14 10:20:33 -05:00
Jai Bhagat
2dddb20471
fix: typo in data-test-selector
2022-01-14 10:19:01 -05:00
Luiz Aoqui
c7ae13a1f3
Fix ACL requirements for job details UI ( #11672 )
2022-01-12 21:26:02 -05:00
Luiz Aoqui
7a1500c122
ui: fix CI ( #11785 )
2022-01-06 16:01:55 -05:00
Jai Bhagat
420a7ff351
fix: add ember-a11y-testing-audit-call
2021-12-21 07:47:22 -05:00
Jai Bhagat
0d97780654
fix: test specs should expect to receive breadcrumb titles
2021-12-21 07:47:06 -05:00
Jai Bhagat
db3abcbed4
fix: update breadcrumb tests according to new breadcrumb structure
2021-12-21 07:46:28 -05:00
Jai Bhagat
86b9c1fe03
refactor: delete unit tests for old breadcrumbs service
2021-12-21 07:46:28 -05:00
Jai Bhagat
63d096a56a
test: breadcrumbs functionality
2021-12-21 07:46:28 -05:00
Jai Bhagat
e53a6072de
chore: write tests for trigger component
2021-12-21 07:46:28 -05:00
Jai
93d5ef596f
Merge pull request #11545 from hashicorp/f-ui/add-alloc-filters-on-table
...
Add Allocation Filters in Client View
2021-12-18 09:39:53 -05:00
Jai
2b7fb2c5bd
Merge pull request #11544 from hashicorp/f-ui/add-filters-to-allocs
...
Add filters to Allocations
2021-12-18 09:38:28 -05:00
Luiz Aoqui
1c7c1f3222
ui: fix volume serializer tests
2021-12-17 20:23:28 -05:00
Luiz Aoqui
5054a6d97f
ui: fix allocation serializer tests
2021-12-17 20:02:59 -05:00
Luiz Aoqui
c7dafba66e
ui: fix job allocation filter by status, remove version filter, and add tests
2021-12-17 19:50:43 -05:00
Luiz Aoqui
e6a202b408
ui: fix linting
2021-12-17 18:55:41 -05:00
Luiz Aoqui
dbb47b5bc9
ui: fix task group alloc filter and add tests
2021-12-17 18:49:47 -05:00
Luiz Aoqui
1ae40fcc37
ui: display empty message in the client details page if there are no allocations to show
2021-12-17 18:49:47 -05:00
Luiz Aoqui
660f4a8b1e
ui: fix client details page alloc status filter and replace task group with namespace and job
2021-12-17 18:49:42 -05:00
Luiz Aoqui
b59a333727
UI: Add tests for prodcut links ( #11645 )
2021-12-07 19:51:17 -05:00
Tim Gross
e729133134
api: return 404 for alloc FS list/stat endpoints ( #11482 )
...
* api: return 404 for alloc FS list/stat endpoints
If the alloc filesystem doesn't have a file requested by the List
Files or Stat File API, we currently return a HTTP 500 error with the
expected "file not found" error message. Return a HTTP 404 error
instead.
* update FS Handler
Previously the FS handler would interpret a 500 status as a 404
in the adapter layer by checking if the response body contained
the text or is the response status
was 500 and then throw an error code for 404.
Co-authored-by: Jai Bhagat <jaybhagat841@gmail.com>
2021-11-17 11:15:07 -05:00
Luiz Aoqui
e21dd8c256
ui: fix tests broken by d3-format upgrade
2021-11-05 18:09:13 -04:00
Luiz Aoqui
2288f33e38
ui: fix tests broken by d3-format upgrade
2021-11-05 18:09:13 -04:00
pangratz
0978685e71
test: ensure we return a valid JSON response
...
An empty string is not a valid JSON response which is expected by this
endpoint.
2021-11-04 16:07:06 +01:00
Luiz Aoqui
2c7bfb7000
ui: persist node drain settings ( #11368 )
2021-10-22 10:51:31 -04:00
Luiz Aoqui
dc5222f6e5
ui: display Nomad version in the Clients and Servers table ( #11366 )
2021-10-22 10:33:06 -04:00
Luiz Aoqui
fce1a03897
ui: create tooltip component ( #11363 )
2021-10-21 13:12:33 -04:00