Carlos Alcaide Corvo
777e40fff8
Upgrade electron forge from 7.5.0 to 7.7.0 ( #2739 )
2025-03-21 11:27:04 -07: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
Zhihe Li
7becccd628
fix: 🐛 Fix search field race condition in DC targets ( #2723 )
...
* fix: 🐛 Fix search field race condition in DC targets
* feat: 🎸 Keep track of last search to know when to debounce
✅ Closes: ICU-14775
2025-03-13 18:50:33 -04: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
Carlos Alcaide Corvo
19b6e5154f
Fix locationType deprecations. ( #2721 )
...
* Deprecated usage of locationType auto to history. Define locationType before setting configuration
2025-03-12 16:16:33 -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
06dc05be08
Update CLI version to 0.19.1 and update changelog ( #2706 )
2025-03-04 11:09:19 -08:00
Zhihe Li
d3fda81af3
fix: 🐛 Fix race condition in browser window loading ( #2701 )
2025-03-04 11:50:19 -05: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
Zhihe Li
2a5f1f3668
fix: 🐛 Fix development build for desktop client ( #2703 )
2025-02-28 10:10:40 -05:00
Carlos Alcaide Corvo
a889cb30e0
Upgrade electron-forge to 7.5.0 ( #2526 )
...
* Upgrade electron-forge to 7.5.0. Delete lodash path for electron-app, its not need anymore
2025-02-26 17:59: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
Cameron Perera
750cc1ecae
feat: 🎸 add logging to notifyError decorator ( #2694 )
...
* feat: 🎸 add logging to notifyError decorator
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16334
* refactor: 💡 update reference to global electronLog
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16334
* refactor: 💡 update __electronLog global references
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16334
* refactor: 💡 add log to other cluster URL actions
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16334
* refactor: 💡 update how we trigger electron log in notifyError
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16334
* refactor: 💡 minor log change
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16334
2025-02-21 10:01:48 -06: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
Zhihe Li
b287683a61
chore: 🤖 Upgrade cross-spawn versions to resolve security alert ( #2684 )
2025-02-11 17:41:47 -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
Cameron Perera
ad0e223742
chore: 🤖 update desktop release date in CHANGELOG ( #2682 )
2025-02-07 16:56:17 -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
cb895024e0
fix: 🐛 update hidden secrets and flatten-nested-object logic ( #2672 )
2025-01-30 18:00:26 -06:00
Cameron Perera
2e94ebdb64
chore: 🤖 update cli version and CHANGELOG ( #2670 )
...
* chore: 🤖 update cli version and CHANGELOG
* chore: 🤖 fix dc release date in CHANGELOG
2025-01-29 12:06:27 -06: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