Comments (6)
YES! This one did the trick!!!!
The next issue just came up - chimp does NOT run all my tests. But it's my first iteration on CI and I'll try to figure it out… thanks for your help again!
from chimpy.
It looks like Chrome problem. Can you paste ./tests/_chimp_config.js
file?
from chimpy.
@lucetius Thanks a lot for your help, man! I really appreciate it…
This is my ./tests/_chimp_config.js.
Do you need any more infos?
/**
* Settings that are used in CircleCi to adapt Chimps behaviour.
* For further possible settings look at the file
* https://github.com/xolvio/chimp/blob/master/src/bin/default.js
*/
module.exports = {
// - - - - MOCHA - - - -
mochaCommandLineOptions: ['--color'],
mochaConfig: {
tags: '@pass1, @pass2, @pass3, @pass4, @pass5', // tags and grep only work when watch mode is false
grep: null,
timeout: 120000, // 2 minutes
// reporter: 'spec', // default only to console (WORKS, but does NOT output CircleCi-compatible data)
reporter: 'mocha-circleci-reporter', // default for CircleCi https://www.npmjs.com/package/mocha-circleci-reporter
slow: 10000,
},
// - - - - WEBDRIVER-IO - - - -
webdriverio: {
waitforTimeout: 10000, // time to wait until element appears.
// => p.e. for modals to appear, so make it quite long
// => default is 500
waitforInterval: 250, // KEEP SMALL (!!!) this is the INTERVAL in which waitFor* is looped for checks
},
// - - - - DEBUGGING - - - -
// log: 'info',
// debug: true,
}
from chimpy.
Try to change webdriverio section to:
// - - - - WEBDRIVER-IO - - - -
webdriverio: {
desiredCapabilities: {
browserName: 'chrome',
chromeOptions: { args: ['--no-sandbox', '--headless'] },
},
waitforTimeout: 10000, // time to wait until element appears.
// => p.e. for modals to appear, so make it quite long
// => default is 500
waitforInterval: 250, // KEEP SMALL (!!!) this is the INTERVAL in which waitFor* is looped for checks
},
in your ./tests/_chimp_config.js
from chimpy.
@lucetius I am seeing those errors in my tests. For some reasons chimpy does not seem to be able to connect to meteor. PLUS after only a few tests it exits.
Can you guide me to a best-practise example on how to setup chimpy with meteor on ci?
* waiting for element to exist "div#__blaze-root"
stdout: * waiting for element to exist "div#__blaze-root"
stderr: Unhandled rejection Error: connect ECONNREFUSED 127.0.0.1:3000
at Object.exports._errnoException (util.js:1020:11)
at exports._exceptionWithHostPort (util.js:1043:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1086:14)
from chimpy.
I've got it!
It was maxBuffer set too small when executing via child_process.exec()
.
See
meteor/todos#273
meteor/todos#274
from chimpy.
Related Issues (20)
- Node 10.1.0, Chimp and fibers problem (can we upgrade fibers?) HOT 33
- Hooks errors fix for #687 HOT 5
- Security vulnerability HOT 5
- Chrome render issue with chimp
- Make chimp work with JDK10 HOT 6
- Difference between this repo(Chimpy) and Chimp HOT 4
- wrapAsync is not defined HOT 2
- Chimpy doesn't appear to support Sauce Connect (which is required for testing non-public apps via Sauce Labs)
- Output still references to chimp and outdated website.
- Support latest version of Chrome! HOT 6
- I can't run the unit tests for Chimpy HOT 4
- Using import syntax in config file throws error
- Chimpy crashes upon app server restart with --ddp flag HOT 2
- chromedriver 2.46.0 download URL invalid
- Adding chimpy as dev-dependency breaks app HOT 2
- node 12: bump fibers dependency HOT 13
- cannot install dev-dependencies -> jest-cli dependency is invalid
- Lots of warnings on deprecation of packages with Node 11.10.x itself HOT 2
- Project Abandoned, future of this project? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chimpy.