mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
build: run e2e tests with chrome headless (#13671)
This commit is contained in:
committed by
Joey Perrott
parent
d177d6f3ec
commit
34812fa1d8
@@ -121,7 +121,7 @@ jobs:
|
||||
- *restore_cache
|
||||
- *yarn_install
|
||||
|
||||
- run: xvfb-run -a --server-args='-screen 0, 1024x768x16' yarn gulp ci:e2e
|
||||
- run: yarn gulp ci:e2e
|
||||
|
||||
- *save_cache
|
||||
|
||||
|
||||
@@ -36,6 +36,10 @@ exports.config = {
|
||||
capabilities: {
|
||||
browserName: 'chrome',
|
||||
|
||||
chromeOptions: {
|
||||
args: [ '--headless', '--window-size=1024,768']
|
||||
},
|
||||
|
||||
// Enables concurrent testing in the Webdriver. Currently runs three e2e files in parallel.
|
||||
shardTestFiles: true,
|
||||
maxInstances: 5,
|
||||
|
||||
Reference in New Issue
Block a user