UI update headless chrome flags to fix 'yarn run test:oss' (#8035)
* UI update headless chrome flags to fix ember/chrome crash in test * UI update references from test-oss to test:oss * UI removed disable-gpu flag from headless Chrome * UI and also remove the comment
This commit is contained in:
parent
c1bb7bca4b
commit
803b29b2d9
2
Makefile
2
Makefile
|
@ -150,7 +150,7 @@ test-ember:
|
|||
@echo "--> Installing JavaScript assets"
|
||||
@cd ui && yarn --ignore-optional
|
||||
@echo "--> Running ember tests"
|
||||
@cd ui && yarn run test-oss
|
||||
@cd ui && yarn run test:oss
|
||||
|
||||
ember-ci-test: # Deprecated, to be removed soon.
|
||||
@echo "ember-ci-test is deprecated in favour of test-ui-browserstack"
|
||||
|
|
|
@ -72,8 +72,8 @@ Running tests will spin up a Vault dev server on port 9200 via a
|
|||
pretest script that testem (the test runner) executes. All of the
|
||||
acceptance tests then run, proxing requests back to that server.
|
||||
|
||||
- `yarn run test-oss`
|
||||
- `yarn run test-oss -s` to keep the test server running after the initial run.
|
||||
- `yarn run test:oss`
|
||||
- `yarn run test:oss -s` to keep the test server running after the initial run.
|
||||
- `yarn run test -f="policies"` to filter the tests that are run. `-f` gets passed into
|
||||
[QUnit's `filter` config](https://api.qunitjs.com/config/QUnit.config#qunitconfigfilter-string--default-undefined)
|
||||
- `yarn run test:browserstack` to run the kv acceptance tests in Browserstack
|
||||
|
|
|
@ -10,7 +10,6 @@ const config = {
|
|||
// --no-sandbox is needed when running Chrome inside a container
|
||||
process.env.CI ? '--no-sandbox' : null,
|
||||
'--headless',
|
||||
'--disable-gpu',
|
||||
'--disable-software-rasterizer',
|
||||
'--mute-audio',
|
||||
'--remote-debugging-port=0',
|
||||
|
|
Loading…
Reference in New Issue