* feat: 🎸 scope picker component (#2646)
* feat: 🎸 scope picker component
---------
Co-authored-by: lisbet-alvarez <lisbet-alvarez@users.noreply.github.com>
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
* refactor: 💡 use hds side nav w/ hds frame instead of rose (#2688)
* refactor: 💡 use hds side nav w/ hds frame instead of rose
* test: 💍 clean up selectors
* fix: 🐛 specificity of style override
* refactor: 💡 use hds side nav list instead of target and portal
* refactor: 💡 revert to using portal component & update scss
* docs: ✏️ update comment
* refactor: 💡 use custom class names for containers
* refactor: 💡 pr feedback (use @hasSidebar arg)
* refactor: 💡 fix onboarding page & fix settings title
* refactor: 💡 remove unneeded template file (pr feedback)
* test: 💍 fix tests due to merge conflicts
* test: 💍 add missing test selector due to merge conflict
* test: 💍 fix more broken tests due to merge conflicts
* chore: 🤖 update yarn.lock & update hds version to 4.18.1
* chore: 🤖 fix e2e test cases due to side nav refactor (#2751)
* chore: 🤖 fix e2e test cases due to side nav refactor
* test: 💍 fix e2e test for desktop
---------
Co-authored-by: lisbet-alvarez <lisbet-alvarez@users.noreply.github.com>
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
OIDC accounts are guaranteed to have a subject claim which we should
display. Currently we only look at email and full_name which
are all optional for OIDC claims. Also added deep links for accounts.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16634
* chore: 🤖 add test selectors to roles list tests
* chore: 🤖 add test selectors for roles global-scope tests
* chore: 🤖 add TABLE_RESOURCE_LINK to global-scope tests
* test: 💍 change exists to isVisible
* chore: 🤖 add test selectors to roles grants tests
* refactor: 💡 create custom selector for grants tests
* refactor: 💡 use new FORM selector
* chore: 🤖 add test selectors to roles list tests
* chore: 🤖 add test selectors for roles global-scope tests
* chore: 🤖 add TABLE_RESOURCE_LINK to global-scope tests
* test: 💍 change exists to isVisible
* chore: 🤖 add test selectors to roles read tests
* chore: 🤖 add test selectors to roles update tests
* refactor: 💡 small test clean up
* chore: 🤖 add test selectors to roles delete tests
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.
* 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
* 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