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
Zhihe Li
e6834d2033
chore: 🤖 Add chrome for self hosted runners when running tests ( #2731 )
2025-03-14 12:10:44 -04: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
1ac7d1e08b
feat: 🎸 Use repo vars to determine the runner size ( #2724 )
2025-03-14 11:15:53 -04: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
Zhihe Li and Michael Li
474ce17a13
Initial E2E DC setup ( #2710 )
...
* Initial setup
* refactor: 💡 Update dependency job
* refactor: 💡 Use boundary ent
* chore: 🤖 Cleanup workflow
* refactor: 💡 Adjust run condition
---------
Co-authored-by: Michael Li <michael.li@hashicorp.com >
2025-03-10 15:36:21 -04: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
Michael Li and Dharini Jeeva
e29a83ec25
test(e2e): Enable Admin UI e2e tests to run against a local branch ( #2700 )
...
* test(e2e): decouple url used for browser vs cli
* test(e2e): Add instructions for using the UI of a local branch
* CR
* Fix typo in e2e-tests/README.md
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com >
---------
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com >
2025-03-05 11:38:12 -05:00
Zhihe Li
ddfcbde7d4
chore: 🤖 audit security alerts ( #2707 )
...
* chore: 🤖 Update solid-js to resolve security alert
* chore: 🤖 Update path-to-regexp package for security alert
* chore: 🤖 Update nanoid to resolve security alert
2025-03-05 11:16:45 -05: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
Michael Li
cd8480bc67
test(e2e): Add check for credential store worker filters ( #2696 )
2025-03-04 14:43:01 -05:00
Carlos Alcaide Corvo
06dc05be08
Update CLI version to 0.19.1 and update changelog ( #2706 )
v2.3.1
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
dependabot[bot] and Lisbet Alvarez
e411c0ab7b
chore(deps): bump solid-js from 1.7.6 to 1.9.5 ( #2698 )
...
Bumps [solid-js](https://github.com/solidjs/solid ) from 1.7.6 to 1.9.5.
- [Release notes](https://github.com/solidjs/solid/releases )
- [Changelog](https://github.com/solidjs/solid/blob/main/CHANGELOG.md )
- [Commits](https://github.com/solidjs/solid/compare/v1.7.6...v1.9.5 )
---
updated-dependencies:
- dependency-name: solid-js
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lisbet Alvarez <107949262+lisbet-alvarez@users.noreply.github.com >
2025-02-26 17:10:08 -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
Cameron Perera
e25a854d24
docs: ✏️ update bug report template ( #2695 )
...
* docs: ✏️ update bug report template
* docs: ✏️ update debug log info
* docs: ✏️ small comment changes
* docs: ✏️ add arch and os version examples
* docs: ✏️ change App Version to Desktop Client Version
* docs: ✏️ small change
* docs: ✏️ another small change to bug template
2025-02-20 09:20:31 -06:00
Zhihe Li
3b32195271
feat: 🎸 Use OCR for E2E tests when comparing terminal ( #2639 )
...
* feat: 🎸 add OCR to interpret terminal
2025-02-19 13:21:33 -05:00
Michael Li
f9411794c4
test(e2e): Remove attempt to delete session recording due to UI change ( #2687 )
...
This test attempted to delete a session recording when the policy did not allow it. However, there was a UI change to remove that option entirely, so we are removing the check.
2025-02-14 11:10:53 -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
Michael Li
f3232f34c2
test(e2e): Use new tags syntax ( #2686 )
...
* test(e2e): Use new tag syntax
* chore: Update yarn lock
2025-02-12 17:24:51 -05:00
hashicc and Michael Li
8fedb23399
update e2e docs with supported enos scenarios ( #2678 )
...
* docs: ✏️ update e2e docs with supported enos scenarios
* Update grammatical typo in e2e-tests/README.md
Co-authored-by: Michael Li <michael.li@hashicorp.com >
---------
Co-authored-by: Michael Li <michael.li@hashicorp.com >
2025-02-12 17:08:48 -05:00
hashicc
4ca519ce62
chore: add eslint-plugin-playwright rules for e2e tests and fix errors ( #2680 )
...
* chore: 🤖 add eslint-plugin-playwright
* chore: 🤖 add recommended eslint rules for playwright to config
* test: 💍 remove describe blocks with async functions
* fix errors related to playwright/valid-describe-callback rule
* test: 💍 fix all auto-fixable playwright rules tests
2025-02-12 12:39:16 -05:00
hashicc
6d4768272a
test: 💍 update e2e tests with afterEach cleanup ( #2677 )
2025-02-12 10:16:44 -05:00