e2e tests seem to complete successfully though.
The last several lines below (the ones with “ERROR” in them) are triggered when I closed the open browser.
Shouldn’t tests work out of the box?
Comands run (and buried in output below):
- ionic start example blank --type=angular
- cd example/
- npm run e2e
- npm run test
Last login: Sun Jun 23 21:02:40 on ttys007
bash_profile
bashrc
ssh-agent count: 1
(11:05 AM) jsharpe@mbp:~ ionic start example blank --type=angular
✔ Preparing directory ./example - done!
✔ Downloading and extracting blank starter - done!
Installing dependencies may take several minutes.
──────────────────────────────────────────────────────────────────────────────
Ionic Advisory, tailored solutions and expert services by Ionic
Go to market faster 🏆
Real-time troubleshooting and guidance 💁
Custom training, best practices, code and architecture reviews 🔎
Customized strategies for every phase of the development lifecycle 🔮
👉 https://ion.link/advisory 👈
──────────────────────────────────────────────────────────────────────────────
> npm i
> fsevents@1.2.9 install /Users/jsharpe/example/node_modules/fsevents
> node install
node-pre-gyp WARN Using request for node-pre-gyp https download
[fsevents] Success: "/Users/jsharpe/example/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node" is installed via remote
> node-sass@4.12.0 install /Users/jsharpe/example/node_modules/node-sass
> node scripts/install.js
Cached binary found at /Users/jsharpe/.npm/node-sass/4.12.0/darwin-x64-64_binding.node
> core-js@2.6.9 postinstall /Users/jsharpe/example/node_modules/core-js
> node scripts/postinstall || echo "ignore"
Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
> https://opencollective.com/core-js
> https://www.patreon.com/zloirock
Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
> node-sass@4.12.0 postinstall /Users/jsharpe/example/node_modules/node-sass
> node scripts/build.js
Binary found at /Users/jsharpe/example/node_modules/node-sass/vendor/darwin-x64-64/binding.node
Testing binary
Binary is fine
npm notice created a lockfile as package-lock.json. You should commit this file.
added 1186 packages from 1060 contributors and audited 54007 packages in 69.201s
found 0 vulnerabilities
> git init
Initialized empty Git repository in /Users/jsharpe/example/.git/
> git add -A
> git commit -m "Initial commit" --no-gpg-sign
[master (root-commit) e7e3d25] Initial commit
37 files changed, 11769 insertions(+)
create mode 100644 .gitignore
create mode 100644 angular.json
create mode 100644 e2e/protractor.conf.js
create mode 100644 e2e/src/app.e2e-spec.ts
create mode 100644 e2e/src/app.po.ts
create mode 100644 e2e/tsconfig.e2e.json
create mode 100644 ionic.config.json
create mode 100644 package-lock.json
create mode 100644 package.json
create mode 100644 src/app/app-routing.module.ts
create mode 100644 src/app/app.component.html
create mode 100644 src/app/app.component.spec.ts
create mode 100644 src/app/app.component.ts
create mode 100644 src/app/app.module.ts
create mode 100644 src/app/app.scss
create mode 100644 src/app/home/home.module.ts
create mode 100644 src/app/home/home.page.html
create mode 100644 src/app/home/home.page.scss
create mode 100644 src/app/home/home.page.spec.ts
create mode 100644 src/app/home/home.page.ts
create mode 100644 src/assets/icon/favicon.png
create mode 100644 src/assets/shapes.svg
create mode 100644 src/environments/environment.prod.ts
create mode 100644 src/environments/environment.ts
create mode 100644 src/global.scss
create mode 100644 src/index.html
create mode 100644 src/karma.conf.js
create mode 100644 src/main.ts
create mode 100644 src/polyfills.ts
create mode 100644 src/test.ts
create mode 100644 src/theme/variables.scss
create mode 100644 src/tsconfig.app.json
create mode 100644 src/tsconfig.spec.json
create mode 100644 src/tslint.json
create mode 100644 src/zone-flags.ts
create mode 100644 tsconfig.json
create mode 100644 tslint.json
[INFO] Next Steps:
- Go to your newly created project: cd ./example
- Run ionic serve within the app directory to see your app
- Build features and components: https://ion.link/scaffolding-docs
- Get Ionic DevApp for easy device testing: https://ion.link/devapp
╭─────────────────────────────────────╮
│ │
│ Update available 5.0.1 → 5.1.0 │
│ Run npm i -g ionic to update │
│ │
╰─────────────────────────────────────╯
(11:06 AM) jsharpe@mbp:~ cd example/
(11:08 AM) jsharpe@mbp:~/example (master) npm run e2e
> example@0.0.1 e2e /Users/jsharpe/example
> ng e2e
** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **
Date: 2019-06-25T03:08:44.998Z
Hash: 18b249165d6877193ff3
Time: 21425ms
chunk {0} 0.js, 0.js.map () 16.4 kB [rendered]
chunk {1} 1.js, 1.js.map () 12.9 kB [rendered]
chunk {2} 2.js, 2.js.map () 17.3 kB [rendered]
chunk {3} 3.js, 3.js.map () 5.48 kB [rendered]
chunk {4} 4.js, 4.js.map () 1.4 kB [rendered]
chunk {5} 5.js, 5.js.map () 1.45 kB [rendered]
chunk {6} 6.js, 6.js.map () 3.22 kB [rendered]
chunk {7} 7.js, 7.js.map () 1000 bytes [rendered]
chunk {8} 8.js, 8.js.map () 1.73 kB [rendered]
chunk {9} 9.js, 9.js.map () 93.8 kB [rendered]
chunk {10} 10.js, 10.js.map () 31.4 kB [rendered]
chunk {11} 11.js, 11.js.map () 33 kB [rendered]
chunk {12} 12.js, 12.js.map () 25.7 kB [rendered]
chunk {13} 13.js, 13.js.map () 26.6 kB [rendered]
chunk {14} 14.js, 14.js.map () 24.7 kB [rendered]
chunk {15} 15.js, 15.js.map () 26.1 kB [rendered]
chunk {16} 16.js, 16.js.map () 23.9 kB [rendered]
chunk {17} 17.js, 17.js.map () 23.9 kB [rendered]
chunk {18} 18.js, 18.js.map () 32.5 kB [rendered]
chunk {19} 19.js, 19.js.map () 33.6 kB [rendered]
chunk {20} 20.js, 20.js.map () 33.7 kB [rendered]
chunk {21} 21.js, 21.js.map () 34.2 kB [rendered]
chunk {22} 22.js, 22.js.map () 30 kB [rendered]
chunk {23} 23.js, 23.js.map () 31.1 kB [rendered]
chunk {24} 24.js, 24.js.map () 31.5 kB [rendered]
chunk {25} 25.js, 25.js.map () 32 kB [rendered]
chunk {26} 26.js, 26.js.map () 30.4 kB [rendered]
chunk {27} 27.js, 27.js.map () 30.4 kB [rendered]
chunk {28} 28.js, 28.js.map () 23.6 kB [rendered]
chunk {29} 29.js, 29.js.map () 24.4 kB [rendered]
chunk {30} 30.js, 30.js.map () 23.4 kB [rendered]
chunk {31} 31.js, 31.js.map () 24.2 kB [rendered]
chunk {32} 32.js, 32.js.map () 25.5 kB [rendered]
chunk {33} 33.js, 33.js.map () 25.6 kB [rendered]
chunk {34} 34.js, 34.js.map () 25.6 kB [rendered]
chunk {35} 35.js, 35.js.map () 25.7 kB [rendered]
chunk {36} 36.js, 36.js.map () 23.9 kB [rendered]
chunk {37} 37.js, 37.js.map () 23.9 kB [rendered]
chunk {38} 38.js, 38.js.map () 42.3 kB [rendered]
chunk {39} 39.js, 39.js.map () 43.2 kB [rendered]
chunk {40} 40.js, 40.js.map () 21.3 kB [rendered]
chunk {41} 41.js, 41.js.map () 21.9 kB [rendered]
chunk {42} 42.js, 42.js.map () 25.7 kB [rendered]
chunk {43} 43.js, 43.js.map () 26.6 kB [rendered]
chunk {44} 44.js, 44.js.map () 33.6 kB [rendered]
chunk {45} 45.js, 45.js.map () 34 kB [rendered]
chunk {46} 46.js, 46.js.map () 32.8 kB [rendered]
chunk {47} 47.js, 47.js.map () 32.8 kB [rendered]
chunk {48} 48.js, 48.js.map () 21.4 kB [rendered]
chunk {49} 49.js, 49.js.map () 22 kB [rendered]
chunk {50} 50.js, 50.js.map () 31.6 kB [rendered]
chunk {51} 51.js, 51.js.map () 32.1 kB [rendered]
chunk {52} 52.js, 52.js.map () 32.4 kB [rendered]
chunk {53} 53.js, 53.js.map () 33.5 kB [rendered]
chunk {54} 54.js, 54.js.map () 42.5 kB [rendered]
chunk {55} 55.js, 55.js.map () 43.3 kB [rendered]
chunk {56} 56.js, 56.js.map () 24.1 kB [rendered]
chunk {57} 57.js, 57.js.map () 25 kB [rendered]
chunk {58} 58.js, 58.js.map () 33.5 kB [rendered]
chunk {59} 59.js, 59.js.map () 33.5 kB [rendered]
chunk {60} 60.js, 60.js.map () 22.8 kB [rendered]
chunk {61} 61.js, 61.js.map () 22.8 kB [rendered]
chunk {62} 62.js, 62.js.map () 46.5 kB [rendered]
chunk {63} 63.js, 63.js.map () 46.5 kB [rendered]
chunk {64} 64.js, 64.js.map () 15.9 kB [rendered]
chunk {65} 65.js, 65.js.map () 16.1 kB [rendered]
chunk {66} 66.js, 66.js.map () 22.8 kB [rendered]
chunk {67} 67.js, 67.js.map () 23.1 kB [rendered]
chunk {68} 68.js, 68.js.map () 22.4 kB [rendered]
chunk {69} 69.js, 69.js.map () 22.7 kB [rendered]
chunk {70} 70.js, 70.js.map () 25.4 kB [rendered]
chunk {71} 71.js, 71.js.map () 27.2 kB [rendered]
chunk {72} 72.js, 72.js.map () 25.8 kB [rendered]
chunk {73} 73.js, 73.js.map () 27.3 kB [rendered]
chunk {74} 74.js, 74.js.map () 16.6 kB [rendered]
chunk {75} 75.js, 75.js.map () 16.9 kB [rendered]
chunk {76} 76.js, 76.js.map () 16.6 kB [rendered]
chunk {77} 77.js, 77.js.map () 16.9 kB [rendered]
chunk {78} 78.js, 78.js.map () 16 kB [rendered]
chunk {79} 79.js, 79.js.map () 16.1 kB [rendered]
chunk {80} 80.js, 80.js.map () 17.6 kB [rendered]
chunk {81} 81.js, 81.js.map () 18 kB [rendered]
chunk {82} 82.js, 82.js.map () 24.9 kB [rendered]
chunk {83} 83.js, 83.js.map () 27.8 kB [rendered]
chunk {84} 84.js, 84.js.map () 26.9 kB [rendered]
chunk {85} 85.js, 85.js.map () 28.8 kB [rendered]
chunk {86} 86.js, 86.js.map () 25.2 kB [rendered]
chunk {87} 87.js, 87.js.map () 28 kB [rendered]
chunk {88} 88.js, 88.js.map () 22.2 kB [rendered]
chunk {89} 89.js, 89.js.map () 22.3 kB [rendered]
chunk {90} 90.js, 90.js.map () 49.9 kB [rendered]
chunk {91} 91.js, 91.js.map () 52.4 kB [rendered]
chunk {92} 92.js, 92.js.map () 46.3 kB [rendered]
chunk {93} 93.js, 93.js.map () 48.4 kB [rendered]
chunk {94} 94.js, 94.js.map () 12.9 kB [rendered]
chunk {95} 95.js, 95.js.map () 13 kB [rendered]
chunk {96} 96.js, 96.js.map () 26.6 kB [rendered]
chunk {97} 97.js, 97.js.map () 28.2 kB [rendered]
chunk {98} 98.js, 98.js.map () 46.5 kB [rendered]
chunk {99} 99.js, 99.js.map () 46.5 kB [rendered]
chunk {100} 100.js, 100.js.map () 29.9 kB [rendered]
chunk {101} 101.js, 101.js.map () 30 kB [rendered]
chunk {102} 102.js, 102.js.map () 16.6 kB [rendered]
chunk {103} 103.js, 103.js.map () 16.6 kB [rendered]
chunk {104} 104.js, 104.js.map () 6.43 kB [rendered]
chunk {105} 105.js, 105.js.map () 6.5 kB [rendered]
chunk {106} 106.js, 106.js.map () 17.5 kB [rendered]
chunk {107} 107.js, 107.js.map () 17.6 kB [rendered]
chunk {108} 108.js, 108.js.map () 6.43 kB [rendered]
chunk {109} 109.js, 109.js.map () 6.51 kB [rendered]
chunk {110} 110.js, 110.js.map () 44 kB [rendered]
chunk {111} 111.js, 111.js.map () 44.5 kB [rendered]
chunk {112} 112.js, 112.js.map () 44.4 kB [rendered]
chunk {113} 113.js, 113.js.map () 44.8 kB [rendered]
chunk {114} 114.js, 114.js.map () 19.8 kB [rendered]
chunk {115} 115.js, 115.js.map () 19.8 kB [rendered]
chunk {116} 116.js, 116.js.map () 16.6 kB [rendered]
chunk {117} 117.js, 117.js.map () 16.6 kB [rendered]
chunk {118} 118.js, 118.js.map () 19.4 kB [rendered]
chunk {119} 119.js, 119.js.map () 19.4 kB [rendered]
chunk {120} 120.js, 120.js.map () 17.5 kB [rendered]
chunk {121} 121.js, 121.js.map () 17.6 kB [rendered]
chunk {122} 122.js, 122.js.map () 17.8 kB [rendered]
chunk {123} 123.js, 123.js.map () 17.9 kB [rendered]
chunk {124} 124.js, 124.js.map () 13.7 kB [rendered]
chunk {125} 125.js, 125.js.map () 13.8 kB [rendered]
chunk {126} 126.js, 126.js.map () 19.4 kB [rendered]
chunk {127} 127.js, 127.js.map () 19.4 kB [rendered]
chunk {128} 128.js, 128.js.map () 10.4 kB [rendered]
chunk {129} 129.js, 129.js.map () 10.4 kB [rendered]
chunk {130} 130.js, 130.js.map () 27.4 kB [rendered]
chunk {131} 131.js, 131.js.map () 28.1 kB [rendered]
chunk {132} 132.js, 132.js.map () 10.8 kB [rendered]
chunk {133} 133.js, 133.js.map () 10.8 kB [rendered]
chunk {134} 134.js, 134.js.map () 17.3 kB [rendered]
chunk {135} 135.js, 135.js.map () 17.3 kB [rendered]
chunk {136} 136.js, 136.js.map () 4.24 kB [rendered]
chunk {137} 137.js, 137.js.map () 1.6 kB [rendered]
chunk {138} 138.js, 138.js.map () 24.5 kB [rendered]
chunk {139} 139.js, 139.js.map () 24.5 kB [rendered]
chunk {140} 140.js, 140.js.map () 2.83 kB [rendered]
chunk {141} 141.js, 141.js.map () 2.88 kB [rendered]
chunk {142} 142.js, 142.js.map () 4.43 kB [rendered]
chunk {143} 143.js, 143.js.map () 4.45 kB [rendered]
chunk {144} 144.js, 144.js.map () 10.7 kB [rendered]
chunk {145} 145.js, 145.js.map () 10.8 kB [rendered]
chunk {146} 146.js, 146.js.map () 4.44 kB [rendered]
chunk {147} 147.js, 147.js.map () 4.45 kB [rendered]
chunk {148} 148.js, 148.js.map () 10.1 kB [rendered]
chunk {149} 149.js, 149.js.map () 10.2 kB [rendered]
chunk {150} 150.js, 150.js.map () 13 kB [rendered]
chunk {151} 151.js, 151.js.map () 13 kB [rendered]
chunk {152} 152.js, 152.js.map () 27.6 kB [rendered]
chunk {153} 153.js, 153.js.map () 28.4 kB [rendered]
chunk {154} 154.js, 154.js.map () 14.3 kB [rendered]
chunk {155} 155.js, 155.js.map () 14.5 kB [rendered]
chunk {156} 156.js, 156.js.map () 14.4 kB [rendered]
chunk {157} 157.js, 157.js.map () 15.1 kB [rendered]
chunk {158} 158.js, 158.js.map () 14.4 kB [rendered]
chunk {159} 159.js, 159.js.map () 14.4 kB [rendered]
chunk {160} 160.js, 160.js.map () 24.4 kB [rendered]
chunk {161} 161.js, 161.js.map () 24.5 kB [rendered]
chunk {162} 162.js, 162.js.map () 15.1 kB [rendered]
chunk {163} 163.js, 163.js.map () 15.8 kB [rendered]
chunk {164} 164.js, 164.js.map () 13.6 kB [rendered]
chunk {165} 165.js, 165.js.map () 13.6 kB [rendered]
chunk {166} 166.js, 166.js.map () 3.08 kB [rendered]
chunk {167} 167.js, 167.js.map () 12 kB [rendered]
chunk {168} 168.js, 168.js.map () 14.6 kB [rendered]
chunk {169} 169.js, 169.js.map () 7.92 kB [rendered]
chunk {170} 170.js, 170.js.map () 1.63 kB [rendered]
chunk {171} 171.js, 171.js.map () 1.36 kB [rendered]
chunk {172} 172.js, 172.js.map () 5.03 kB [rendered]
chunk {common} common.js, common.js.map (common) 20.2 kB [rendered]
chunk {es2015-polyfills} es2015-polyfills.js, es2015-polyfills.js.map (es2015-polyfills) 285 kB [initial] [rendered]
chunk {home-home-module} home-home-module.js, home-home-module.js.map (home-home-module) 4.92 kB [rendered]
chunk {main} main.js, main.js.map (main) 31.8 kB [initial] [rendered]
chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 237 kB [initial] [rendered]
chunk {runtime} runtime.js, runtime.js.map (runtime) 8.79 kB [entry] [rendered]
chunk {styles} styles.js, styles.js.map (styles) 88.6 kB [initial] [rendered]
chunk {vendor} vendor.js, vendor.js.map (vendor) 4.37 MB [initial] [rendered]
[11:08:45] I/file_manager - creating folder /Users/jsharpe/example/node_modules/protractor/node_modules/webdriver-manager/selenium
[11:08:45] I/config_source - curl -o/Users/jsharpe/example/node_modules/protractor/node_modules/webdriver-manager/selenium/chrome-response.xml https://chromedriver.storage.googleapis.com/
ℹ 「wdm」: Compiled successfully.
[11:08:46] I/downloader - curl -o/Users/jsharpe/example/node_modules/protractor/node_modules/webdriver-manager/selenium/chromedriver_75.0.3770.8.zip https://chromedriver.storage.googleapis.com/75.0.3770.90/chromedriver_mac64.zip
[11:09:24] I/update - chromedriver: unzipping chromedriver_75.0.3770.8.zip
[11:09:24] I/update - chromedriver: setting permissions to 0755 for /Users/jsharpe/example/node_modules/protractor/node_modules/webdriver-manager/selenium/chromedriver_75.0.3770.8
[11:09:25] I/launcher - Running 1 instances of WebDriver
[11:09:25] I/direct - Using ChromeDriver directly...
Jasmine started
new App
✓ should be blank
Executed 1 of 1 spec SUCCESS in 1 sec.
[11:09:31] I/launcher - 0 instance(s) of WebDriver still running
[11:09:31] I/launcher - chrome #01 passed
(11:09 AM) jsharpe@mbp:~/example (master) npm run test
> example@0.0.1 test /Users/jsharpe/example
> ng test
11% building 10/10 modules 0 active25 06 2019 11:09:52.062:WARN [karma]: No captured browser, open http://localhost:9876/
25 06 2019 11:09:52.067:INFO [karma-server]: Karma v4.1.0 server started at http://0.0.0.0:9876/
25 06 2019 11:09:52.068:INFO [launcher]: Launching browsers Chrome with concurrency unlimited
25 06 2019 11:09:52.076:INFO [launcher]: Starting browser Chrome
25 06 2019 11:10:04.020:WARN [karma]: No captured browser, open http://localhost:9876/
25 06 2019 11:10:04.097:INFO [Chrome 75.0.3770 (Mac OS X 10.14.5)]: Connected on socket BipkEtr2a4B4pZOPAAAA with id 89215906
Chrome 75.0.3770 (Mac OS X 10.14.5): Executed 3 of 3 SUCCESS (0.239 secs / 0.176 secs)
TOTAL: 3 SUCCESS
TOTAL: 3 SUCCESS
Chrome 75.0.3770 (Mac OS X 10.14.5) ERROR
DisconnectedClient disconnected from CONNECTED state (transport error)
Chrome 75.0.3770 (Mac OS X 10.14.5): Executed 3 of 3 SUCCESS (0.239 secs / 0.176 secs)
Chrome 75.0.3770 (Mac OS X 10.14.5) ERROR
DisconnectedClient disconnected from CONNECTED state (transport error)