Lisbet Alvarez and Carlos Alcaide Corvo
9dd1617b57
chore: 🤖 upgrade ember-data to v5.3.11 ( #2745 )
...
* chore: 🤖 upgrade ember-data to v5.3.11
* Add missing copyright headers
* refactor: 💡 remove comment
* chore: 🤖 update yarn.lock due to merge conflict
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16544
* fix: 🐛 undo ember-source upgrade (should be upgraded w/ ember)
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16544
* chore: 🤖 move dep to devDeps & resolve test-helper version
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16544
* fix: 🐛 unique record id error bug fix using store.push
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16544
* refactor: 💡 cleanup
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16544
* Delete old deprecation initializer (#2748 )
* refactor: 💡 import from'ember-data/store'
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16544
* refactor: 💡 clean up comments
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16544
* refactor: 💡 remove compatWith comment
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16544
---------
Co-authored-by: Carlos Alcaide Corvo <ccorvo@hashicorp.com >
2025-04-03 09:32:44 -07:00
Cameron Perera
0f41a0a576
chore: 🤖 add test selectors to roles grants tests ( #2749 )
...
* chore: 🤖 add test selectors to roles list tests
* chore: 🤖 add test selectors for roles global-scope tests
* chore: 🤖 add TABLE_RESOURCE_LINK to global-scope tests
* test: 💍 change exists to isVisible
* chore: 🤖 add test selectors to roles grants tests
* refactor: 💡 create custom selector for grants tests
* refactor: 💡 use new FORM selector
2025-03-31 16:24:40 -05:00
Priya Patel
ca3c1c7623
Refactor: Scopes tests ( #2744 )
...
* refactor: 💡 scopes test
* fix: 🐛 addressed comments
* fix: 🐛 replace exists with isVisible, use hasText
* fix: 🐛 move form to commonSelectors
2025-03-28 15:00:59 -07:00
Cameron Perera
b4d9cd5bb7
Icu 16409 roles list & global-scope ( #2747 )
...
* chore: 🤖 add test selectors to roles list tests
* chore: 🤖 add test selectors for roles global-scope tests
* chore: 🤖 add TABLE_RESOURCE_LINK to global-scope tests
* test: 💍 change exists to isVisible
2025-03-28 13:11:33 -05:00
Priya Patel
2f2ceed24e
Refactor: Workers test - Create-tags, list and tags ( #2742 )
...
* refactor: 💡 workers test - create-tags,list,tags
* fix: 🐛 addressed comment
2025-03-25 15:03:13 -07:00
Dharini Jeeva
b1f5857cac
refactor: 💡 use test selector in host-catalog/list ( #2743 )
2025-03-24 14:50:09 -07:00
Cameron Perera
ddbd1ca163
Icu 16406 roles read, update, delete ( #2741 )
...
* chore: 🤖 add test selectors to roles read tests
* chore: 🤖 add test selectors to roles update tests
* refactor: 💡 small test clean up
* chore: 🤖 add test selectors to roles delete tests
2025-03-21 15:34:17 -05:00
Priya Patel
68460331f5
Refactor: Worker tests - create, read, update and delete ( #2737 )
...
* refactor: 💡 workers test - create,delete,read,update
* fix: 🐛 address comments
2025-03-20 14:02:13 -07:00
Cameron Perera
32e9fe8b6a
chore: 🤖 use test selectors for roles create tests ( #2738 )
2025-03-20 14:08:33 -05:00
Priya Patel
b3a2460b3f
Refactor: Policy tests - list and delete ( #2736 )
...
* fix: 🐛 policy test refactor - list, delete
* fix: 🐛 chain assertions
* fix: 🐛 fixed failing test
2025-03-18 15:03:53 -07:00
Dharini Jeeva
3260bf1b2a
refactor: 💡 use test selector in host-catalog read, delete and update ( #2734 )
2025-03-18 12:06:39 -07:00
Priya Patel
e69c6456d1
Refactor: Policy tests - create, read and update ( #2732 )
...
* refactor: 💡 policy tests: create, read and update
* fix: 🐛 use commonselector for table link
2025-03-18 10:47:46 -07:00
Zhihe Li
f8b3792e62
Fix Searchbar debouncing in admin UI ( #2735 )
...
Applied ember-concurrency task usage to admin UI model hooks to help fix the debouncing issue.
2025-03-18 11:20:50 -04:00
Cameron Perera
01c34c0a79
Small test selector updates ( #2733 )
...
* refactor: 💡 update sidebar nav selector name
* refactor: 💡 move generic selector to common selector file
2025-03-17 11:07:21 -05:00
Priya Patel
825751239f
Refactor: 💡 User acceptance tests: list, update and accounts ( #2726 )
...
* refactor: 💡 users selector tests: list, update and accounts
* fix: 🐛 follow AAA pattern
* refactor: 💡 updated common selectors
2025-03-14 16:04:56 -07:00
Dharini Jeeva
2465739060
Icu 15486 host catalogs create test ( #2729 )
2025-03-14 09:42:29 -07:00
Cameron Perera
924100df4c
chore: 🤖 update session list tests with selectors ( #2727 )
...
* chore: 🤖 update session list tests with selectors
* chore: 🤖 add TABLE_ROW selector to session list
2025-03-14 10:32:44 -05:00
Dharini Jeeva
dff5cac4fe
refactor: 💡 worker filter feature flags ( #2720 )
2025-03-13 15:12:36 -07:00
Lisbet Alvarez
ecd0c1de20
Icu 16535 refactor usage of did insert modifiers ( #2722 )
...
* refactor: 💡 remove ember-render-modifiers {{did-insert}} usage
2025-03-13 12:58:39 -07:00
Dharini Jeeva
878cb17b62
refactor: 💡 use test selector in groups/members route ( #2719 )
2025-03-13 09:51:37 -07:00
Carlos Alcaide Corvo
706981c231
Refactor test selectors within auth-methods oidc test ( #2717 )
...
* Refactor test selectors within auth-methods oidc test
2025-03-13 08:39:11 -07:00
Priya Patel
d212cf7c40
Refactor: 💡 User acceptance tests - create, delete and read ( #2718 )
...
* refactor: 💡 user - create, delete and read tests
* fix: 🐛 removed 'this' usage, updated user create test
2025-03-12 16:49:38 -07:00
Lisbet Alvarez
89263918ea
Icu 16534 refactor usage of tracked using this args ( #2711 )
...
* refactor: 💡 remove tracked usage with this.args
2025-03-12 10:09:16 -07:00
Carlos Alcaide Corvo
e8fc6d163b
Deprecate import inject from @ember/service ( #2716 )
...
* Deprecate usage of import inject
2025-03-12 08:29:54 -07:00
Priya Patel
34a670f8d7
Refactor: Onboarding tests selectors refactor ( #2715 )
...
* refactor: 💡 Onboarding tests
Refactor test selectors for onboarding acceptance tests
✅ Closes: #ICU-16398, #ICU-16399
* fix: 🐛 failing test
* chore: 🤖 add copyright header
* fix: 🐛 use AAA pattern and server.schema
* fix: 🐛 moved done button to selectors
* fix: 🐛 renamed copy text btn selector
2025-03-11 14:53:32 -07:00
hashicc
6a46e2dd57
chore: 🤖 add chrome flags to keep from backgrounding ( #2714 )
...
There was an issue in tests where events fired in
Hds::FlyOut and Hds::Modal were not being dispatched.
These close events were depended on by test waiters
to know when the element was removed. In recent
versions of chrome, when ran headless and on macos,
these events were not firing. This meant the tests
waited indefinitely on developers local machines,
until the tests timed out. This issue was seen
across multiple macbooks and even on the hds repo.
This issue was *only* experienced in headless
chrome on recent macos.
It was **not** happening in:
* macos chrome headed locally
* linux chrome headless in CI
This made the issue only impact people running tests
locally, getting obscure timeouts. This issue is fixed
by the addition of this flag:
--disable-backgrounding-occluded-windows
The other flags added in this commit are not required
for the fix but should help keep a browser "active",
which was loosely what researching this bug hinted at
the cause of finding the issue fix.
2025-03-11 13:29:19 -04:00
Dharini Jeeva
5e0fa7c744
test: 💍 use test selectors for groups ( #2713 )
...
* test: 💍 use test selectors for groups
2025-03-10 13:32:32 -07:00
Cameron Perera
f00eed8633
test: 💍 fix false positive test ( #2712 )
2025-03-10 13:35:13 -05:00
Cameron Perera
42bcefa068
Icu 16393 managed groups read ( #2709 )
...
* chore: 🤖 update managed-groups read test selectors
* chore: 🤖 add test selectors to managed-groups delete
* chore: 🤖 use test selectors in managed-groups list tests
* chore: 🤖 refactor managed-groups members tests
* refactor: 💡 update selector name for DELETE action
2025-03-06 14:42:45 -06:00
Lisbet Alvarez and Zhihe Li
29bde998ed
refactor: 💡 remove usage of ember/runloop & ember-pollster ( #2705 )
...
* refactor: 💡 remove usage of ember/runloop & ember-pollster
---------
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
2025-03-06 12:20:48 -08:00
Cameron Perera
42e31d3ece
Icu 16392 managed groups create ( #2704 )
...
* chore: 🤖 update manage-gropus tests to ues selectors
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16392
* refactor: 💡 small clean up
2025-03-04 15:09:08 -06:00
Carlos Alcaide Corvo
f58d345b63
Refactor unnecessary curly parenthese ( #2699 )
...
* Refactor unnecessary curly parentheses
2025-03-03 09:42:38 -08:00
Cameron Perera
f35382a4e0
refactor: 💡 update adapter when transforming filter error ( #2702 )
...
* refactor: 💡 update adapter when transforming filter error
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16580
* style: 💄 add comment about adapter changes for translated field
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16580
* style: 💄 move comment to adapter
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16580
* style: 💄 update old comment about model fragments
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16580
* refactor: 💡 use extractErrors in serializers
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16580
2025-03-03 09:58:45 -06:00
Dharini Jeeva
8087430dd2
chore: upgrade to yarn 4 ( #2697 )
2025-02-28 14:19:35 -08:00
Lauren
a136371c1f
refactor: 💅 Aliases: create-test ( #2685 )
...
* refactor: 💡 Create aliases test suite
Refactor test suite for creating aliases
✅ Closes: ICU-15454
* use FIELD_TEXT_ERROR selector
* revert SAVE_BTN
* revert auth-method changes
* revert scopes changes
* revert scopes changes
* revert targets changes
* add FIELD prefix to const
* remove selector suffix
* revert read-test
* remove FIELD_TEXT_ERROR
* add data-test att to component
* fix merge conflict
2025-02-25 14:17:45 -05:00
Lauren
83fa213854
refactor: 💅 Aliases: read-test ( #2691 )
...
* refactor: 💡 Read aliases test suite
Refactor tests for read aliases test suite
✅ Closes: ICU-15455
* replace with alert toast body, replace with this.server.schema
* revert change
* revert oidc test
* revert roles, create-test
* add const to commonSelectors file, revert selectors file
* rename selector
* use TABLE_RESOURCE_LINK common selector
* fix test failure
2025-02-25 13:16:41 -05:00
hashicc
c5fdbfd62d
chore: fix eslint-related issues ( #2690 )
...
* chore: 🤖 add .eslintignore for e2e-tests directory
* chore: 🤖 add auto-fixable eslint changes
* chore: 🤖 make js tasks more explicit to avoid race conditions
avoid having js files be in two separate concurrent branches where tasks
could result in race-condition writes
* chore: 🤖 expand .eslintignore to include more generated dirs
* chore: 🤖 fix additional lint-staged tasks
Fix additional lint-staged tasks that could result in race conditions
2025-02-13 17:09:10 -05:00
Lauren
f12ae90aba
refactor: 💅 Use common selector ALERT_TOAST_BODY across test suite ( #2692 )
...
* replace with alert toast body, replace with this.server.schema
* revert changes to db,schema
* use common selector, alert toast body
* replace ERROR_MSG_SELECTOR with common selector ALERT_TOAST_BODY
2025-02-13 15:54:40 -05:00
Zhihe Li
20c4bbcee2
feat: 🎸 Add migration check to delete index DB when updating ( #2241 )
...
* feat: 🎸 Add migration check to delete index DB when updating
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-13223
2025-02-13 11:00:19 -05:00
Carlos Alcaide Corvo
48db68e7ac
Upgrade node engines to work with node 20 and 22 ( #2486 )
...
* Upgrade node engines to work with node 20 and 22
2025-02-10 17:37:04 -08:00
Cameron Perera
7807b7a280
Icu 15471 credential store tests ( #2663 )
...
* test: 💍 update cred store read tests to use selectors
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15471
* test: 💍 update cred store update to use selectors
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15471
* test: 💍 update cred store delete to use selectors
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15471
* test: 💍 update cred store list to use selectors
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15471
* chore: 🤖 remove refactored selector
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15471
2025-02-10 17:41:37 -06:00
Lisbet Alvarez
c9a74f2800
fix: 🐛 reapply storage policy errors out after a failed delete ( #2674 )
...
* fix: 🐛 reapply storage policy errors out after a failed delete
* refactor: 💡 hide delete button when policy is retain forever
* refactor: 💡 pr feedback (move check to model)
2025-02-04 14:09:10 -08:00
Carlos Alcaide Corvo
a0fad9874a
Refactor auth-method delete test selectors ( #2671 )
2025-01-31 08:27:06 -08:00
Cameron Perera
ae1e6d2748
feat: 🎸 add showFilterGenerator to WorkerFilterGenerator comp ( #2669 )
...
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16282
2025-01-28 16:24:38 -08:00
Lauren and cameronperera
c72d4f35a0
Vault cred store filter create ( #2668 )
...
* refactor: 💡 add worker filter back to create form
✅ Closes: ICU-16281
* add helper text to worker filter generator at creation state
* set isOptional to true
* set isOptional to true
---------
Co-authored-by: cameronperera <cameron.perera@hashicorp.com >
2025-01-28 16:46:11 -05:00
Dharini Jeeva
fed32aa57b
chore: 🤖 add doc links for GCP plugin ( #2666 )
2025-01-24 12:45:56 -08:00
Carlos Alcaide Corvo
1e2134bd7e
Refactor auth methods red test selectors ( #2656 )
...
* Refactor auth-methods list acceptance test selectors
2025-01-24 12:11:19 -08:00
Carlos Alcaide Corvo
15950d3a09
fix: 🐛 Fix HDS deprecation message ( #2661 )
...
Fix HDS deprecation message for HDS Dropdown interactive component using
@text rather than yielding it.
2025-01-23 08:15:12 -08:00
Carlos Alcaide Corvo
c4539b8e30
Refactor auth-methods list acceptance test selectors ( #2654 )
...
Refactor auth-methods list acceptance test selectors
2025-01-22 14:32:16 -08:00
Carlos Alcaide Corvo
904864b14e
Test icu 15459 auth method create test selectors refactor ( #2653 )
...
Refactor selectors
2025-01-20 09:45:15 -08:00