* 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).
* 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>
* test(e2e): Address deprecation
* test(e2e): Add additional connection assertions on tests
* CR: Fix flake when waiting for sessions
If no sessions are available and the page needs to reload, we should wait to ensure that the page has loaded before checking what the state of the sessions are
* CR: Address flake in connect methods
Noticed an issue where a session recording was not playable. The theory is that the session didn't last long enough before it was cancelled. This adds a 2 second wait after establishing a connection before continuing.
* CR: Use authenticated state by default
* CR: Update dynamic host catalog assertion
* CR: Simplify host set checks
- Use .all() when looping
- Add check to see if we need to reload the page or not
* CR: Be more specific with locator
Ran into a conflict with the Static/Dynamic host catalog type and the Static/Dynamic credential type.
* CR: Update connection methods to be more resilient
Rather than using a hardcoded sleep, we will now run a command on the target and wait for a specific string to return before continuing.
* CR
* test: 💍 test 1
* chore: 🤖 remove waitForPromise use
* chore: 🤖 remove all other waitforpromise usage
* test: 💍 turn down polling
* test: 💍 use .json
* refactor: 💡 add waitForPromise back in & consume response body
* test: 💍 some testing
* test: 💍 more testing
* refactor: 💡 clean-up a bit
* refactor: 💡 use head method request & clean up comments
* refactor: 💡 use get method & consume response body
* test: 💍 fix token validation test cases