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
* 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>
* 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
* 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
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.
* 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
* 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
* 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>
* trim whitespace on json attrs in storage bucket serializer
* add test for storage bucket serializer
* move trimWhitespace check to application level
* add trimWhitespace to preferred_endpoints attr
* add conditional for string arr
* trim whitespace on str arr
* add check for null val
* refactor, move logic
* relocate comment
* add unit test for application serializer
* 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>
* test(e2e): Update "Inactive" locators
* test(e2e): Update worker filter locators
* test(e2e): Address flake
Ensure that the test has reached the org page before trying to click the Auth Methods link (there is an auth method link on both the global page and the org page).