Lisbet Alvarez
e310b5abfa
Add e2e test for target sort and modify e2e dc testing workflow to build binary ( #3176 )
...
* test: 💍 add e2e test case for sort target name
* chore: 🤖 update desktop e2e workflow to use boundary ent repo
* fix: 🐛 make sure org is fully loaded before sorting
* fix: 🐛 add missing step to move binary to correct folder
* refactor: 💡 update to wait for table load in test
* test: 💍 validate cache status
* fix: 🐛 remove unneeded flag so tests use enos binary
* refactor: 💡 use commit from ui-ent repo to build binary
* fix: 🐛 update selector due to changes from main merge
* fix: 🐛 update selector for dropdown link
* fix: 🐛 reopen dropdown after switching org + add workflow input
* docs: ✏️ clean up comments in workflow file
2026-03-05 12:41:45 -08:00
Lisbet Alvarez
b1b49edb39
Refactor hds side nav to hds app side nav and header ( #3032 )
...
* refactor: 💡 use hds app header and app side nav
* style: 💄 fix dark-mode colors for side nav and app header
* style: 💄 cleanup
* style: 💄 simplify selector
* refactor: 💡 move util (param finder) to core addon
* refactor: 💡 move scope picker to core addon
* refactor: 💡 use hds header and app side nav in ui/desktop
* refactor: 💡 clean up ui/desktop files
* refactor: 💡 remove uneeded header components
* refactor: 💡 remove uneeded global layout
* Add missing copyright headers
* style: 💄 adjust foreground and background colors to fix contras
* style: 💄 remove uneeded stylelint disables
* style: 💄 fix dark mode styling in desktop ui
* refactor: 💡 readd user-select style
* test: 💍 fix tests + e2e tests for admin and desktop UIs
* refactor: 💡 clean up uneeded main elements and fix color link
* Add missing copyright headers
* fix: 🐛 e2e test selectors for ui/desktop
* style: 💄 revert link color change
* refactor: 💡 remove hds override
* fix: 🐛 scope dropdown for desktop
* fix: 🐛 max-height to desktop scope dropdown
* Add missing copyright headers
* chore: 🤖 update lockfile due to webpack update
2026-02-25 13:55:36 -08:00
Lisbet Alvarez
3ba93927fe
Update copyright headers ( #3146 )
...
* empty commit
* Add missing copyright headers
* chore: 🤖 update copywrite config file with correct year
* Add missing copyright headers
* empty commit (gh action merge checks are stuck)
2026-01-28 17:09:06 -08:00
55e1e68f30
[COMPLIANCE] Update Copyright and License Headers ( #3099 )
...
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
Co-authored-by: Dharini <dharini@hashicorp.com >
2026-01-20 11:35:10 -05:00
Priya Patel
d2cf82b85c
e2e Rdp client tests ( #3055 )
...
* test: 💍 e2e test for rdp client launch
* test: 💍 added rdp test helper
* refactor: 💡 misc
* refactor: 💡 addressed comments
* refactor: 💡 removed similar test
2025-11-19 14:22:07 -08:00
Dharini
b49e55d400
test: 💍 refactor e2e
2025-09-03 16:05:42 -07:00
Lauren and Zhihe Li
990e2d6b9d
[Desktop][Bug fix]: Stop target sessions before unauthenticating user session ( #2891 )
...
* add stopAll invocation to ipc handler
* trigger modal on both signout btns
* refactor invalidateSession fn
* fix application controller tests
* fix failing tests settings-card/user
* add test to Acceptance | authentication
* migrate electron dialog.showMessageBoxSync to Hds
* rename channel and tracked prop, consolidate cancel fns
* combine modals, add willDestroy, refactor
* test signout and close sessions modal
* address feedback
* refactor window.electron in authentication-test
* address feedback
* refactor: 💡 Fix failing tests
---------
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
2025-08-04 16:44:27 -04:00
Cameron Perera
3d1ee732b4
Icu 17232 improve host source resource fetching ( #2877 )
...
* refactor: 💡 add fallback value for address column
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17232
* fix: 🐛 make host address optional in search for plugin hosts
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17232
* feat: 🎸 remove pageSize reset for user preference
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17232
* test: 💍 update e2e tests for host sources
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17232
* feat: 🎸 improve host source resource fetching
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17232
* refactor: 💡 remove em dash translation
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17232
* refactor: 💡 add comment to target route for duplicate hosts
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17232
* refactor: 💡 add filter to query for hosts
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17232
* refactor: 💡 use Promise.all() when fetching hosts
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17232
2025-06-12 17:19:56 -05:00
Cameron Perera and cameronperera
57e614e8db
feat: 🎸 add search capability for host sources ( #2861 )
...
* feat: 🎸 add search capability for host sources
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17094
* refactor: 💡 use Rose::Pagination component
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17094
* refactor: 💡 move target detail body to index route
to fix whole page reload issue
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17094
* Add missing copyright headers
* refactor: 💡 PR feedback
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17094
---------
Co-authored-by: cameronperera <29386339+cameronperera@users.noreply.github.com >
2025-06-06 16:07:48 -05:00
Priya Patel
b06c396086
Refactor - Rose::Page::Layout ( #2849 )
...
* Refactor: Rose::Page::Layout - header, actions and breadcrumbs (#2813 )
* refactor: 💡 page::layout- header,breadcrumb and actions
* refactor: 💡 added new class for the page layout, fixed a11y
* refactor: 💡 addressed comments
* refactor: 💡 moved copy snippet to PH.Generic
* refactor: 💡 addressed comments
* Refactor: Rose::Page::Layout - header, actions and breadcrumbs Part 2 (#2825 )
* refactor: 💡 rose page layout header
* refactor: 💡 removed extra classes
* Refactor: Rose::Page::Layout - header, actions and breadcrumbs Final Part (#2840 )
* refactor: 💡 rose page layout header
* Refactor: Rose::Page::Layout - header, actions and breadcrumbs (#2813 )
* refactor: 💡 page::layout- header,breadcrumb and actions
* refactor: 💡 added new class for the page layout, fixed a11y
* refactor: 💡 addressed comments
* refactor: 💡 moved copy snippet to PH.Generic
* refactor: 💡 addressed comments
* Refactor: Rose::Page::Layout - header, actions and breadcrumbs Part 2 (#2825 )
* refactor: 💡 rose page layout header
* refactor: 💡 removed extra classes
* refactor: 💡 fixed a11y heading, actions dropdown
* refactor: 💡 fixed page header
* refactor: 💡 fix heading margin and failing tests
* refactor: 💡 add back margin for hds header tags
* refactor: 💡 fix style
2025-06-02 16:20:50 -05:00
Cameron Perera
e3433ec1f7
feat: 🎸 add pagination to host source table ( #2854 )
...
* feat: 🎸 add pagination to host source table
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17093
* test: 💍 add e2e tests for host source pagination
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17093
* refactor: 💡 change paginatedHosts to getter
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17093
* test: 💍 refactor e2e pagination test
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17093
2025-05-29 15:55:05 -05:00
Cameron Perera
96d7c055b0
Icu 17092 replace hosts connect modal with table in target detail page ( #2841 )
...
* feat: 🎸 add host source table to target detail view
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17092
* chore: 🤖 remove unused translation
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17092
* test: 💍 update e2e tests for host source change
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17092
* test: 💍 add test for target details main connect button
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17092
* test: 💍 update e2e test selector
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17092
2025-05-23 11:45:27 -05:00
Dharini Jeeva
c445f95aa4
chore: desktop header nav dropdown changes ( #2833 )
2025-05-20 13:24:46 -07:00
Dharini Jeeva
e222d5b909
chore: Migrate rose dropdown to HDS ( #2826 )
2025-05-15 11:05:05 -07: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
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
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
Dharini Jeeva
835b302c19
chore: add more test cases to credential display e2e test ( #2673 )
...
* chore: 🤖 add more test cases
2025-01-31 14:47:03 -08:00
Michael Li
9742d824c4
test(e2e/desktop): Address failures in session tests ( #2664 )
...
* test(e2e): Address failures in session tests
* CR
2025-01-28 11:04:46 -05:00
Dharini Jeeva
064375d457
test: 💍 add e2e tests for credentials display in desktop ( #2660 )
...
* test: 💍 add e2e tests for credentials display in desktop
2025-01-23 14:30:54 -08:00
hashicc and hashicc
31f1ed8dd4
test(e2e): add e2e test for scope chooser with filtered targets ( #2644 )
...
* test(e2e): add e2e test for scope chooser with filtered targets
Closes: https://hashicorp.atlassian.net/browse/ICU-16121
* Add missing copyright headers
* chore(e2e): use prettier on scope.spec.js
* refactor(e2e): use explicit checks for scope in summary
* refactor(e2e): move test hooks and associated variables to top-level
Move beforeEach and afterEach and the associated variables setup in
hooks to top-level within scope.spec.js. This matches the patterns
used in other tests.
* refactor(e2e): use simpler scoped locator for summary element within header-nav
---------
Co-authored-by: hashicc <hashicc@users.noreply.github.com >
2025-01-10 17:00:49 -05:00
Zhihe Li
e16b4e68c8
Icu 14778 add more sessions tests ( #2615 )
...
* test: 💍 Add desktop sessions tests
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-14778
* chore: 🤖 Add support for dotenv and stop using relative paths
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-14778
* refactor: 💡 Force usage of node 20
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-14778
2024-12-10 16:11:12 -05:00
Zhihe Li
9c10d79661
Icu 14777 add more target tests ( #2594 )
...
* refactor: 💡 Move global setup to root
* refactor: 💡 Move env variable test fixture to global setup file
* test: 💍 Add more DC e2e tests for targets
* docs: ✏️ Updated e2e README
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-14777
2024-12-03 18:51:22 -05:00
Zhihe Li
7e56e1cccf
style: 💄 Run prettier on e2e tests ( #2560 )
2024-11-12 18:11:00 -05:00
Zhihe Li
7c1814118d
refactor: 💡 Move e2e tests to new folder ( #2546 )
...
* refactor: 💡 Move e2e tests to new folder
* refactor: 💡 Convert desktop tests to mjs and use es6 imports
* refactor: 💡 Use module setting for e2e directory and remove mjs
* refactor: 💡 Remove "e2e" in all scripts in package.json
2024-11-12 11:21:37 -05:00