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
Zhihe Li
390d179917
feat: 🎸 Added GCP host sets and hosts ( #2655 )
...
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15994
2025-01-10 14:18:48 -08:00
Dharini Jeeva
3b6a421af2
chore: Updates to gcp hc form ( #2649 )
...
* chore: 🤖 add worker_filter field, updates to helper text
2025-01-10 14:18:48 -08:00
Dharini Jeeva
cc8d4fe952
test: GCP plugin acceptance tests ( #2648 )
2025-01-10 14:18:48 -08:00
Dharini Jeeva
dfa62dd04b
chore: 🤖 gcp plugin creation in the UI ( #2645 )
...
gcp plugin creation and mirage changes
2025-01-10 14:18:48 -08:00
Dharini Jeeva
520020f2c6
Chore: refactor host catalog model and serializer to accommodate GCP plugin ( #2627 )
...
* chore: 🤖 GCP plugin support
2025-01-10 14:18:48 -08:00
Cameron Perera
5abd4f1f4f
Icu 15470 credential store create test ( #2650 )
...
* refactor: 💡 clean up urls in create test file
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15470
* test: 💍 update cred store create to use selectors
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15470
2025-01-10 09:57:32 -06:00
Lisbet Alvarez
9eccbb91db
refactor: 💡 Update name radio option label & set toggle default to on ( #2652 )
...
* refactor: 💡 Update name radio option label & default toggle on
2025-01-09 15:18:17 -08:00
Carlos Alcaide Corvo
343e1d2193
test: 💍 Refactor host list test selectors ( #2629 )
...
* test: 💍 Refactor host list test selectors
2025-01-08 09:14:29 -08:00
Lisbet Alvarez
f7f1041daa
fix: 🐛 oidc retry not working for secure links in desktop ui ( #2641 )
...
* fix: 🐛 oidc retry not working for secure links in desktop ui
2025-01-07 10:56:32 -08:00
Lisbet Alvarez
65abd7a4e3
fix: 🐛 code block error in console when value is empty on save ( #2637 )
2024-12-20 14:03:35 -08:00
Lauren
422cff4547
[ICU-15647] Replace Rose::Dialog with Hds::Modal in admin ui only ( #2623 )
...
* sort list
* refactor: 💡 Replace Rose::Dialog with Hds::Modal
✅ Closes: ICU-15647
* refactor targets-host-sources-test
* refactor update-test
* update test selectors
* refactor delete test
* refactor org scope test
* refactor delete scope and auth-method tests
* refactor update host catalogs tests
* refactor credential-stores credential update tests
* refactor credential-stores credentials delete tests
* refactor scopes update tests
* refactor storage buckets delete test
* refactor storage buckets delete test
* refactor credential library update test
* refactor targest workers test
* refactor workers create tags test
* refactor global scope test
* refactor users update test
* refactor host catalogs delete test
* refactor credential-store update tests
* refactor host catalogs, hosts and sets update tests
* remove unused vars
* rename selectors, remove attrs
* add @onDismiss callback
2024-12-20 14:16:43 -05:00
Lisbet Alvarez
7695135302
refactor: 💡 application state ability dependent descriptions ( #2631 )
...
* refactor: 💡 application state ability dependent descriptions
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15813
2024-12-17 16:03:56 -08:00
Cameron Perera
5be4868e9a
refactor: 💡 rename arialabel to aria-labelledby for key/value ( #2633 )
...
* refactor: 💡 rename arialabel to aria-labelledby for key/value
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15701
* refactor: 💡 rename ariaLabelledBy to naming conventions
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15701
2024-12-17 13:58:04 -06:00
Cameron Perera
fce97fd57a
fix: 🐛 change disabled to readonly for form inputs ( #2618 )
...
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15666
2024-12-17 13:31:47 -06:00
Cameron Perera
daed714b98
test: 💍 update selectors for credential-library tests ( #2630 )
...
delete and list
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15468
2024-12-16 16:31:07 -06:00
Carlos Alcaide Corvo
584e62cff3
test: 💍 Refactor host delete test selectors ( #2626 )
...
Refactor host-catalog host delete acceptance test selectors
2024-12-13 15:57:10 -08:00