hashicc
dc9376a460
(HACK WEEK 2025) a11y-audit-ignore codemod ( #2946 )
...
* chore: 🤖 add ember-a11y-ignore tool
* chore: 🤖 fix handling existing setRunOptions imports
* chore: 🤖 move codemod to support folder
* chore: 🤖 fix edge case for handling property key names
* chore: 🤖 handle case where multiple of same violation in test
This fixes a bug where multiple cases of the same violation would end up
with multiple entries
* chore: 🤖 ignore axe rules that are currently failing in admin
* chore: 🤖 ignore axe rules that are currently failing in desktop
* docs: ✏️ add a comment explaining the codemod
* chore: 🤖 include test.each cases for a11y ignores
* fix: 🐛 handle test.each test cases for a11y ignore codemod
2025-08-19 10:51:44 -05:00
hashicc
1f4076d8d4
(HACK WEEK 2025) Upload a11y reports in ci ( #2949 )
...
* ci: 🎡 consolidate ember a11y reports and upload as gh artifact
* ci: 🎡 Bump test timeout for a11y tests
* chore: 🤖 run a11y tests in parallel
* chore: 🤖 only run a11y audit against acceptance tests
* chore: 🤖 restore ember test in place of ember exam
testing whether or not ember test hangs with three tests timing out like
ember exam does
* ci: 🎡 output a11y reports filtered down in ci
* ci: 🎡 attempt to fix shell exit code for a11y test failures
* ci: 🎡 add step names for outputting a11y test report summary
2025-08-19 10:51:44 -05:00
Cameron Perera
f202d0f533
(HACK WEEK 2025) docs: ✏️ add a11y testing info to READMEs ( #2945 )
...
* docs: ✏️ add a11y testing info to READMEs
* chore: 🤖 remove light theme setup for acceptance tests in admin
* docs: ✏️ add link to test-helper.js in README
* chore: 🤖 update PR template for a11y-tests
* test: 💍 fix color theme switching tests
2025-08-19 10:51:44 -05:00
Cameron Perera
87d6bbae2a
(HACK WEEK 2025) chore: 🤖 add new gh workflow for a11y tests ( #2942 )
...
* chore: 🤖 add new gh workflow for a11y tests
* chore: 🤖 remove a11y dark tests job
* chore: 🤖 increase a11y tests timeout
2025-08-19 10:51:44 -05:00
Cameron Perera
7a42bf456e
(HACK WEEK 2025) Dark mode a11y audit rules ( #2939 )
...
* chore: 🤖 change axe runOptions based on color theme
* fix: 🐛 fix background-color and color styles application
2025-08-19 10:51:44 -05:00
hashicc
a51f1eee8e
(HACK WEEK 2025) a11y desktop test helper ( #2938 )
...
* chore: 🤖 run ember-a11y-testing conditionally in desktop
* chore: 🤖 control launched testem chrome theme via COLOR_THEME
* chore: 🤖 add package.json scripts for desktop a11y tests
* chore: 🤖 gitignore a11y report
* chore: 🤖 update desktop package.json test command
Explicitly call test and finalize separately, previously "concurrently"
would pick up the finalize task
* chore: 🤖 remove unneeded console.logs
2025-08-19 10:51:44 -05:00
Carlos Alcaide Corvo and Lisbet Alvarez
5b72a916e4
(HACK WEEK 2025) A11y admin test helper ( #2937 )
...
* chore: 🤖 add a11y audit test helper config
* chore: 🤖 remove report files
* refactor: 💡 remove console.log
* Apply PR feedback
* Delete the flag --server when running a11y tests
---------
Co-authored-by: Lisbet Alvarez <lisbet.alvarez@hashicorp.com >
2025-08-19 10:51:44 -05:00
Cameron Perera and calcaide
42013a919f
(HACK WEEK 2025) refactor: 💡 remove explicit a11yAudit usage ( #2936 )
...
* refactor: 💡 remove explicit usage of a11yAudit
* Delete a11yAudit method from readme
---------
Co-authored-by: calcaide <ccorvo@hashicorp.com >
2025-08-19 10:51:44 -05:00
Cameron Perera
3918f82e14
chore: 🤖 add DARK_MODE env variable to testem config ( #2935 )
...
for admin and desktop
2025-08-19 10:51:44 -05:00
Carlos Alcaide Corvo
6e79a2a133
Delete development environment variables for the appUpdater ( #2961 )
2025-08-15 14:12:08 -07:00
dependabot[bot] and Zhihe Li
088deaed3a
chore(deps): bump tmp from 0.2.3 to 0.2.5 in /ui/desktop/electron-app ( #2962 )
...
Bumps [tmp](https://github.com/raszi/node-tmp ) from 0.2.3 to 0.2.5.
- [Changelog](https://github.com/raszi/node-tmp/blob/master/CHANGELOG.md )
- [Commits](https://github.com/raszi/node-tmp/compare/v0.2.3...v0.2.5 )
---
updated-dependencies:
- dependency-name: tmp
dependency-version: 0.2.5
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: Zhihe Li <zhihe.li@hashicorp.com >
2025-08-14 14:50:15 -04:00
Carlos Alcaide Corvo
5fd9f0216a
Fix security vulnerability within desktop appUpdater ( #2953 )
...
* use app.isPackaged instead of electron-is-dev
2025-08-12 11:19:43 -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
hashicc
fb57965457
chore: 🤖 update @glimmer/component to v2 ( #2871 )
...
* chore: 🤖 update @glimmer/component to v2
* chore: 🤖 bump ember-a11y-refocus to fix focus errors in tests
Previous runs had three failing tests related to focusing from
ember-a11y-refocus:
* global failure: TypeError: Cannot read properties of null (reading 'focus')
Tests failing with this error were fixed as part of this PR:
https://github.com/ember-a11y/ember-a11y-refocus/pull/347
After bumping to a later version of ember-a11y-refocus, the
existing failing tests now pass
2025-07-18 13:12:34 -04:00
Zhihe Li
0a2d743ea2
fix: 🐛 Fix removing worker tag ( #2928 )
2025-07-16 13:27:13 -04:00
Lisbet Alvarez
fbd613084d
fix: 🐛 prevent worker registration icon from shrinking ( #2929 )
...
* fix: 🐛 prevent worker registration icon from shrinking
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17392
2025-07-15 17:13:07 -07:00
Cameron Perera
4cd56f8ae5
Icu 17393 manage resource button permissions bug ( #2927 )
...
* fix: 🐛 hide manage button if no action items
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17393
* fix: 🐛 update manage actions for credential-stores
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17393
* fix: 🐛 update manage actions for groups
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17393
* fix: 🐛 update manage actions for host-sets
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17393
* fix: 🐛 update manage actions for roles
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17393
* fix: 🐛 update manage action for targets
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17393
* fix: 🐛 update manage actions for workers
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17393
* fix: 🐛 update manage actions for users
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17393
* fix: 🐛 update manage actions for auth-methods
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17393
2025-07-15 14:03:27 -05:00
Lisbet Alvarez
d93a0c170c
test: 💍 refactor targets manage alias test selectors ( #2921 )
...
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16437
2025-07-10 16:20:37 -07:00
Lisbet Alvarez
aa18f599ce
test: 💍 refactor target worker test selectors ( #2910 )
...
* test: 💍 refactor target worker test selectors
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16438
* test: 💍 update selector
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16438
2025-07-10 15:34:24 -07:00
Dharini
8e31adb9db
fix: 🐛 release date ( #2922 )
2025-07-09 10:08:40 -07:00
Cameron Perera
f0feb9e563
Icu 16439 enable session recording create storage bucket & index ( #2886 )
...
* test: 💍 update selectors for create-storage-bucket-test
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16439
* test: 💍 add selectors for enable session recording index test
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16439
* fix: 🐛 clean up duplicate test selectors
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16439
* refactor: 💡 move single file use selectors back to file
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16439
2025-07-07 11:47:04 -05:00
Carlos Alcaide Corvo
44624e3820
Refactor test selectors for host-sets domain ( #2911 )
2025-07-07 09:17:06 -07:00
Lisbet Alvarez
bd1b8542eb
fix: 🐛 transition aborted error when deleting or saving ( #2918 )
2025-07-02 13:06:17 -07:00
Dharini
c92e93ab1c
chore: 🤖 change log and cli version ( #2917 )
2025-07-02 10:29:12 -07:00
Lisbet Alvarez
1358727832
test: 💍 refactor target host sources test selectors ( #2906 )
...
* test: 💍 refactor target host sources test selectors
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16435
2025-07-02 09:48:52 -07:00
Lisbet Alvarez
19426cfd51
chore: resolve brace expansion to patched versions for vulnerability fix ( #2912 )
...
* chore: 🤖 resolve brace-expansion 1.1.11 to 1.1.12
* chore: 🤖 resolve brace-expansion 2.0.1 to 2.0.2
2025-06-27 14:39:01 -07:00
Lisbet Alvarez
30c05eb834
refactor: 💡 update label and description for AWS DHC ( #2909 )
...
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17308
2025-06-27 14:17:06 -07:00
Carlos Alcaide Corvo
961f497b6b
Replace this.server.db with this.server.schema ( #2907 )
2025-06-26 14:14:26 -07:00
Lisbet Alvarez
89f33f3714
refactor: 💡 add last seen time column to workers list view ( #2908 )
...
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17305
2025-06-26 11:18:28 -07:00
Carlos Alcaide Corvo
4bad52f43a
Refactor host set update test ( #2902 )
...
* Refactor host set update test
2025-06-25 08:28:14 -07:00
Carlos Alcaide Corvo
fd6cd3ddf7
Refactor test selectors aliases ( #2897 )
...
* Refactor delete test selectors
* Refactor list test selectors
2025-06-25 07:39:10 -07:00
Lisbet Alvarez
adf7f8603b
test: 💍 refactor targets create alias & enable SR test selectors ( #2904 )
...
* test: 💍 refactor targets create alias & enable SR test selector
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16433
2025-06-24 16:09:33 -07:00
Lauren
2a2e4350ee
conditionally render separator ( #2900 )
2025-06-23 20:07:41 -04:00
Sohail
96ff0ddf27
Enhanced the refresh functionality in targets route ( #2889 )
...
* Enhanced the refresh functionality in targets and sessions route
2025-06-23 09:08:59 +05:30
hashicc
5d6e65f206
refactor: 💡 remove cached allSessions and related models ( #2862 )
2025-06-20 16:16:17 -04:00
Carlos Alcaide Corvo
abf7866292
Refactor scopes test selectors ( #2888 )
2025-06-20 10:32:28 -07:00
Lisbet Alvarez
10c98c66e7
test: 💍 Refactor test selectors for targets credential sources ( #2890 )
...
* test: 💍 Refactor test selectors for targets credential sources
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16432
2025-06-19 18:04:18 -07:00
hashicc
7f4586ed9e
chore: 🤖 migrate away from component helper for form/account ( #2880 )
2025-06-18 10:09:28 -04:00
Carlos Alcaide Corvo
0b6049c8b0
Refactor authentication test selectors ( #2887 )
2025-06-17 11:51:04 -07:00
Lisbet Alvarez
2d347171a9
refactor: 💡 add title to primary column in auth-methods table ( #2882 )
2025-06-13 15:55:06 -07:00
Carlos Alcaide Corvo
7e2f3e3df3
Refactor credential-store/credentials list test selectors ( #2884 )
...
* Refactor credential-store/credentials list test selectors
2025-06-13 08:24:18 -07:00
Carlos Alcaide Corvo
3899daea7c
Add sortNameWithIdFallback to auth methods ( #2878 )
...
* Add sortNameWithIdFallback to auth methods
2025-06-12 15:35:39 -07: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
Lisbet Alvarez
899d7beee0
chore: 🤖 upgrade @babel/runtime to v7.27 ( #2881 )
...
* chore: 🤖 upgrade @babel/runtime to v7.26
2025-06-12 10:17:12 -07:00
Carlos Alcaide Corvo
4c7f3fad75
Icu 15478 refactor credentials delete test selectors ( #2867 )
...
* Refactor credential-store/credentials update test selectors
* Refactor credential-store/credentials delete test selectors
2025-06-11 09:29:46 -07:00
hashicc
b8eb2c3c9b
Upgrade ember-cli-flash ( #2870 )
...
* chore: 🤖 upgrade ember-cli-flash to v6
* chore: 🤖 remove unneeded timer disabling
This is no longer needed since the test helpers as of v5 are explicit:
disableTimeout and enableTimeout
Old world:
> Essentially importing this helper would cause the init hook of the FlashObject to become a no-op and disable the timeout running in consuming apps test runs.
> To get the same behaviour as "Old world 🌐 " a consuming app needs only to remove the blueprint import. ✅
https://github.com/adopted-ember-addons/ember-cli-flash/pull/392
* chore: 🤖 add @embroider/macros for ember-cli-flash
ember-cli-flash requires @embroider/macros as a dev dependency:
https://github.com/adopted-ember-addons/ember-cli-flash/pull/392/files/6c5743f424d14143c9309bcb0be8152fdaec11a2#r1369522866
https://github.com/adopted-ember-addons/ember-cli-flash/pull/395
2025-06-10 18:37:36 -04:00
Carlos Alcaide Corvo
4020f2d4e2
Icu 15477 refactor credentials update test selectors ( #2866 )
...
* Refactor credential-store/credentials update test selectors
2025-06-10 14:19:23 -07:00
Carlos Alcaide Corvo
1284a16978
Refactor credential-store/credentials read test selectors ( #2864 )
...
* Refactor credential-store/credentials read test selectors
2025-06-10 08:24:18 -07:00
f255a470cd
Improve Project Navigation in Sidebar for Admin UI ( #2829 )
...
* When clicking on project in list, go to targets page
* Move Sessions link to bottom of main list on Project scope sidebar
* Add backlink to Orgs
* Add backlink to Global
* Fix some tests
* test: 💍 fix a couple more tests
---------
Co-authored-by: Lisbet Alvarez <lisbet.alvarez@hashicorp.com >
Co-authored-by: Lisbet Alvarez <107949262+lisbet-alvarez@users.noreply.github.com >
2025-06-09 16:48:59 -07:00
hashicc
f738e71657
chore: 🤖 explicitly require managing pnpm "built dependencies" ( #2873 )
...
pnpm by default refuses to run install scripts, some packages require
these and others are use install scripts as a way to provide messages.
Instead of a pnpm warning this commit ensures that the package that
is detected with an install script must be either listed in
ignoredBuiltDependencies or onlyBuiltDependencies. Running pnpm
install will fail until a package has been categorized
As part of this commit the packages that were previously listed
as warnings have been categorized under ignoredBuiltDependencies
since their install scripts are not required for the functionality
of the package
2025-06-09 10:26:02 -04:00