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: 🤖 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
* 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
* chore: 🤖 update ember-a11y-testing and @ember/test-helpers
* chore: 🤖 upgrade to v7
* chore: 🤖 upgrade deps and force resolutions to fix errors
* chore: 🤖 fix ember-a11y errors due to summary title not showing
* chore: 🤖 fix yarn.lock
* chore: 🤖 Upgrade `addons/core` to Ember 4.12.2
Upgrade `addons/core` to Ember 4.12.2
✅ Closes: ICU-11341
* refactor: 💡 testing updating plugin-proposal-decorators version
Update `@babel/plugin-proposal-decorators` to latest version.
* refactor: 💡 testing legacy plugin-proposa-decorators version
Testin `legacy` version for `plugin-proposal-decorators` plugin
* refactor: 💡 testing plugin-proposal-decorators
Testing `@babel/plugin-proposal-decorators`
* refactor: 💡 Revert @babel/exlint-parser to previous version
Revert `@babel/eslint-parser` to use version 2018 EcmaScript version
until further research is done on latest versions
* Update package.json
put @babel/core back into `devDependencies`
* refactor: 💡 testing linging changes
Pushed ember-tempalate-lint, prettier, and ember template lint plugin
for prettier to latest versions to test why CI builds are not passing.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11341
* Ember `addon/auth` upgrade v4.4.1...v4.12.2
* Update .npmignore
* refactor: 💡 Quick refactor
Refactor `.eslintrc.js` to current `ecmaVersion` and use latest
`babelOptions`. Revert `.prettier.js` to use previous overrides. Setup
scripts to use `concurrently` instead of `npm-run-all`
* refactor: 💡 removed `npm-run-all`
Removed `npm-run-all` from package.json
* chore: 🤖 Update editor config settings
* chore: 🤖 Add back ember-template-lint-plugin-prettier
* style: 💄 Format admin
* style: 💄 Format desktop
* style: 💄 Format rose
* style: 💄 Format core
* style: 💄 Format api
* refactor: 💡 replace ember notify with flash in notify decorator
* refactor: 💡 remove embery-notify and replace last instance
* chore: 🤖 upgrade ember dependencies in anticipation of ember 4
* refactor: 💡 add standalone server mocks to auth tests
Co-authored-by: Susmitha Girumala <susmitha@hashicorp.com>
* refactor: 💡 replace ember notify with flash in notify decorator
* refactor: 💡 remove embery-notify and replace last instance
* chore: 🤖 upgrade ember dependencies in anticipation of ember 4