thebrainfamily / chimpy Goto Github PK
View Code? Open in Web Editor NEWDevelop acceptance tests & end-to-end tests with realtime feedback.
Home Page: https://thebrainfamily.github.io/chimpy
License: MIT License
Develop acceptance tests & end-to-end tests with realtime feedback.
Home Page: https://thebrainfamily.github.io/chimpy
License: MIT License
Issue by thiagodelgado111
Friday Jul 29, 2016 at 19:25 GMT
Originally opened as xolvio/chimp#436
Step definition runs without throwing while trying to set values, click, submit forms and wait for given conditional statements.
An error is thrown intermitently
Cannot isolate the problem since it happens intermitently :(. This is the definition of the step where the problem occurs.
// Registration step 1
client.waitForExist('[hook="register-form"]');
client.setValue('[hook="email-address"]', userEmail);
client.submitForm('[hook="register-form"]');
client.waitForExist('[hook="register-form"]');
client.setValue('[hook="first-name"]', 'John');
client.setValue('[hook="last-name"]', 'Doe');
client.setValue('[hook="username"]', 'john_doe');
client.submitForm('[hook="register-form"]');
client.waitForExist('[hook="register-form"]');
client.setValue('[hook="password"]', 'userpassword');
client.submitForm('[hook="register-form"]');
expect(client.getText('[hook="success-message"]')).not.toBe('');
client.click('[hook="success-message"]');
client.waitUntil(function () {
return !client.isVisible('[hook="success-message"]');
});
https://gist.github.com/thiagodelgado111/561e1e00b2424fe58a0adb7bf41df6cf
I think that some error is being thrown somewhere on my code and then when chimp tries to report the error, something happens
Issue by duclet
Friday Jun 24, 2016 at 11:19 GMT
Originally opened as xolvio/chimp#405
For various reasons, we have our own configurations for Babel and also uses WebPack to do the build. The mocha-wrapper.js file will always register the Babel configurations. Would be nice if we can turn it off.
Issue by samhatoum
Tuesday Oct 20, 2015 at 23:55 GMT
Originally opened as xolvio/chimp#102
From @sanjo on August 20, 2015 5:53
It is documented but does not work.
Copied from original issue: xolvio/meteor-cucumber#197
Issue by brucejo75
Friday Apr 29, 2016 at 04:56 GMT
Originally opened as xolvio/chimp#355
I am trying to use the server
global to initialize data for all of my tests outside of an it block. This becomes quite useful if you use a data pattern to create the tests. My example is to get the users DB and create a test to verify each user.
Is there some reason why server
is only available in an it
block? It took me 3-4 hrs to realize this limitation when I first started to use chimp.
Plus I am unable to create any sort of workaround. Frustrating.
Thanks!
I expect to be able to reference the global server
variable in any scope within a mocha file. It is global after all.
The global server
variable is only defined within a test (it
block).
try to use the global server
variable outside of an it
block and you will find it is undefined.
N/A
Issue by DominikGuzei
Sunday Sep 27, 2015 at 12:17 GMT
Originally opened as xolvio/chimp#78
Hey there!
Just wanted to point a problem that i am running into a lot when working with services like Facebook that use pop-ups etc. Chimp currently is really sensitive to browser windows not being closed "correctly" etc. which is kind of annoying when you try to setup a tab-switching workflow in your tests.
To try it, just run some tests and close the browser window by hand in the middle of anything. Chimp will completely freak out and not restart anymore. IMO it should not care at all – just stop the current test run and wait for the next file change to be there for you 😉
Here is one of the logs from such an error where i have to completely restart the test-server afterwards:
[chimp][hooks] BeforeFeatures hook had error
{ [Error: Window not found. The browser window may have been closed.
Build info: version: '2.47.1', revision: '411b314', time: '2015-07-30 03:03:16'
System info: host: 'Macintosh.local', ip: '25.174.89.152', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.9.5', java.version: '1.8.0_60'
Driver info: driver.version: unknown]
message: 'Window not found. The browser window may have been closed.\nBuild info: version: \'2.47.1\', revision: \'411b314\', time: \'2015-07-30 03:03:16\'\nSystem info: host: \'Macintosh.local\', ip: \'25.174.89.152\', os.name: \'Mac OS X\', os.arch: \'x86_64\', os.version: \'10.9.5\', java.version: \'1.8.0_60\'\nDriver info: driver.version: unknown',
type: 'RuntimeError' }
Error: Window not found. The browser window may have been closed.
at Object.Future.wait (/Users/dominik/.meteor/packages/xolvio_cucumber/.0.14.1.1kokaqw++os.osx.x86_64+web.browser+web.cordova/npm/node_modules/chimp/node_modules/fibers/future.js:420:15)
at Object.timeoutsAsyncScriptSync (/Users/dominik/.meteor/packages/xolvio_cucumber/.0.14.1.1kokaqw++os.osx.x86_64+web.browser+web.cordova/npm/node_modules/chimp/node_modules/xolvio-sync-webdriverio/node_modules/xolvio-fiber-utils/index.js:48:19)
at initBrowser (/Users/dominik/.meteor/packages/xolvio_cucumber/.0.14.1.1kokaqw++os.osx.x86_64+web.browser+web.cordova/npm/node_modules/chimp/lib/cucumberjs/hooks.js:91:15)
at /Users/dominik/.meteor/packages/xolvio_cucumber/.0.14.1.1kokaqw++os.osx.x86_64+web.browser+web.cordova/npm/node_modules/chimp/lib/cucumberjs/hooks.js:119:7
at /Users/dominik/.meteor/packages/xolvio_cucumber/.0.14.1.1kokaqw++os.osx.x86_64+web.browser+web.cordova/npm/node_modules/chimp/lib/cucumber-wrapper.js:116:43
- - - - -
Build info: version: '2.47.1', revision: '411b314', time: '2015-07-30 03:03:16'
System info: host: 'Macintosh.local', ip: '25.174.89.152', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.9.5', java.version: '1.8.0_60'
Driver info: driver.version: unknown
at new ErrorHandler.RuntimeError (/Users/dominik/.meteor/packages/xolvio_cucumber/.0.14.1.1kokaqw++os.osx.x86_64+web.browser+web.cordova/npm/node_modules/chimp/node_modules/xolvio-sync-webdriverio/node_modules/webdriverio/lib/utils/ErrorHandler.js:92:12)
at RequestHandler.<anonymous> (/Users/dominik/.meteor/packages/xolvio_cucumber/.0.14.1.1kokaqw++os.osx.x86_64+web.browser+web.cordova/npm/node_modules/chimp/node_modules/xolvio-sync-webdriverio/node_modules/webdriverio/lib/utils/RequestHandler.js:138:25)
at Request.self.callback (/Users/dominik/.meteor/packages/xolvio_cucumber/.0.14.1.1kokaqw++os.osx.x86_64+web.browser+web.cordova/npm/node_modules/chimp/node_modules/xolvio-sync-webdriverio/node_modules/webdriverio/node_modules/request/request.js:373:22)
at Request.emit (events.js:98:17)
at Request.<anonymous> (/Users/dominik/.meteor/packages/xolvio_cucumber/.0.14.1.1kokaqw++os.osx.x86_64+web.browser+web.cordova/npm/node_modules/chimp/node_modules/xolvio-sync-webdriverio/node_modules/webdriverio/node_modules/request/request.js:1318:14)
at Request.emit (events.js:117:20)
at IncomingMessage.<anonymous> (/Users/dominik/.meteor/packages/xolvio_cucumber/.0.14.1.1kokaqw++os.osx.x86_64+web.browser+web.cordova/npm/node_modules/chimp/node_modules/xolvio-sync-webdriverio/node_modules/webdriverio/node_modules/request/request.js:1266:12)
at IncomingMessage.emit (events.js:117:20)
at _stream_readable.js:944:16
at process._tickDomainCallback (node.js:492:13)
[chimp] Finished running async processes with errors
[chimp] run complete with errors Cucumber steps failed
[chimp] Could not get Cucumber Results from run result:
[ undefined, [ null ] ]
[xolvio:cucumber] Bad response from Chimp server.
{ statusCode: 200,
content: '',
headers:
{ 'content-type': 'application/json; charset=utf-8',
'cache-control': 'no-cache',
'content-length': '0',
date: 'Sun, 27 Sep 2015 12:09:36 GMT',
connection: 'keep-alive' },
data: null }
Issue by PierreCBSI
Thursday Apr 28, 2016 at 18:09 GMT
Originally opened as xolvio/chimp#354
Config file should raise a warning if improperly formatted config is passed
It seems the config file is loading, but defaults are actually loaded
in the directory you run chimp from, create a chimp.js file.
in it, copy the following text:
browser='firefox'
(note: using --browser='firefox' would throw out errors)
Launch chimp from the dir the file is saved as, note that the browser used is chrome and not firefox.
Issue by samhatoum
Sunday Jul 26, 2015 at 21:43 GMT
Originally opened as xolvio/chimp#44
When we first started chimp, this aspect was an experiment.
Now we know a lot more about what we need from cukes so we should rewrite this section with proper testing
Issue by samhatoum
Wednesday Oct 21, 2015 at 00:01 GMT
Originally opened as xolvio/chimp#128
From @samhatoum on January 11, 2015 6:55
Copied from original issue: xolvio/meteor-cucumber#22
Issue by jmflaherty
Tuesday May 10, 2016 at 19:38 GMT
Originally opened as xolvio/chimp#371
Cucumber hooks are able to interact with the driver without an issue.
On Chimp 0.34.1 the Cucumber hooks cannot use the driver, as in
var myHooks = function () {
this.Before(function () {
driver.windowHandleMaximize([driver.windowHandle]);
});
this.After(function () {
driver.deleteCookie();
});
};
module.exports = myHooks;
Showing the following error when executed.
Before # features\steps\hooks.js:4 Error: Couldn't connect to selenium server
Clone /master from my repo,
run 'npm install',
then execute it with './node_modules/chimp/bin/chimp.js config-chimp.js'.
This same code works perfectly with Chimp 0.30.0. I'll try to find which version introduced the bug.
Back on 0.34.1 the hooks themselves seems to work, but they fail only when the driver is called. If you comment/delete the lines that uses it the hooks run without errors.
I've used hooks in previous projects with older Chimp versions and I've never had any kind of issue. This is the first time.
https://www.npmjs.com/package/cucumber#hooks
Thanks!
Issue by ShockiTV
Monday May 23, 2016 at 09:55 GMT
Originally opened as xolvio/chimp#386
Chimp should shorten screenshot filenames to prevent whole chimp crashing on I/O for reaching filename filesystem limit
Chimp crash when you put too long Gherkin line on which step fail - app try to save screenshot with too long name
Our management requested SQL queries without special formatting to be part of Gherkin
(Preferably a repository and easy reproduction steps)
(Upload long logs to Gist and link it here)
Issue by samhatoum
Thursday May 12, 2016 at 20:26 GMT
Originally opened as xolvio/chimp#375
Issue by shrop
Thursday Dec 10, 2015 at 10:12 GMT
Originally opened as xolvio/chimp#186
--watchSource
seems to on accept absolute unix file paths, but also supporting relative paths could be really nice. Low priority. Seems like if this one if figured out, could be used for other file path based chimp CLI switches.
Issue by samhatoum
Saturday Feb 13, 2016 at 20:11 GMT
Originally opened as xolvio/chimp#275
Currently, chimp only watches the feature directory. If --domainSteps
, --criticalSteps
or --require
are used, they are not automatically watched. They should be
Issue by joshhunt
Tuesday Apr 12, 2016 at 23:15 GMT
Originally opened as xolvio/chimp#332
Mocha has the 'require' option which allows you to run a setup file before all the tests are even required. We take this opportunity to set up some global variables and functions, which are required for the tests to be required properly.
I noticed that chimp has a similar option --require
, however it does not load this file before it loads the others. I put some very basic console.log
at the top of key files, which shows the order
$ chimp test/functional/chimp.js --require test/functional/setup.js --path=test/functional --mocha --browser=firefox
[chimp] Running...
modules/navigation.spec.js
features/navigation.spec.js
utils/setup.js
Because setup.js
was required after our test cases, the test cases will fail to load properly because they don't have the globals set up yet.
Am I using the --require
option correctly, or is there another option to do what we need?
Issue by DanielGJohnsen
Thursday Aug 11, 2016 at 07:58 GMT
Originally opened as xolvio/chimp#445
Can anyone provide an example of how i can run chrome with multiple arguments from passing a chimp-config.js file as argument.
In the default config, it read the selenium section, but no matter what i write in webdriver-io section, chimp does not use it. How can i write a local config file to start chrome with multiple arguments?
Issue by samhatoum
Saturday Feb 13, 2016 at 20:21 GMT
Originally opened as xolvio/chimp#277
Running domain tests independently of Meteor will force users to keep application and infrastructure concerns out of the domain.
Domain modules can be loaded into Cucumber without the browser at all. If we need to run.
Perhaps we can have a --pure
option for this
Issue by Mylab6
Tuesday Apr 05, 2016 at 21:21 GMT
Originally opened as xolvio/chimp#326
Chimp 0.25.1 , node v5.4.1
NOTE: For now I've simply hard coded browserstack.debug to be true in chimp-helper.js , but it would be nice if this was fixed in a future release.
Issue by dehamilton
Tuesday Sep 08, 2015 at 20:34 GMT
Originally opened as xolvio/chimp#69
Are there any plans to add logic to the session-manager so that non-localhost sessions would be properly closed out?
For example, when I run a Sauce Labs session, the session will eventually just timeout and that shows as a failed test - at least in the bit that I've been playing with things. BrowserStack at least shows it as a "timeout" status.
Issue by sgrover
Thursday Oct 22, 2015 at 15:59 GMT
Originally opened as xolvio/chimp#130
I have two issues I'm looking for help/guideance on. I've checked the documentation and Google but am not finding the right info yet.
So, I'm looking for some guidance on how/where to change the configuration that Chimp uses to talk with Phantom and Cucumber.
Thanks for any tips/links/suggestions. (still learning my way around the Node way of doing things!)
Issue by Sanjo
Friday Feb 26, 2016 at 19:03 GMT
Originally opened as xolvio/chimp#295
This language feature will be supported in Meteor 1.3.
Issue by xywang68
Friday Sep 02, 2016 at 21:17 GMT
Originally opened as xolvio/chimp#464
Back in 0.35.0 chimp will suggest a file name and print a skeleton file for the steps that are missing.
i.e.:
// Recommended filename: When_I_search_and_open_the_test_portfolio.js
module.exports = function() {
this.When(/^I search and open the test portfolio$/, function () {
// Write the automation code here
pending();
});
};
This feature seems to be missing in 0.40.4.
Now it becomes:
Message:
Undefined. Implement with the following snippet:
this.When(/^I search and open the test portfolioe$/, function (callback) {
// Write code here that turns the phrase above into concrete actions
callback(null, 'pending');
});
Is this an intended change and why? or is it a configurable setting? I think the original feature is very nice and I would like to get it back.
Issue by samhatoum
Saturday Aug 08, 2015 at 18:23 GMT
Originally opened as xolvio/chimp#52
Leaving the computer and coming back hours later requires chimp to be restarted. Possibly increase Selenium session timeout?
Issue by Sanjo
Monday Apr 13, 2015 at 18:22 GMT
Originally opened as xolvio/chimp#6
See https://github.com/vvo/selenium-standalone#running-headlessly
Issue by Sanjo
Monday Apr 13, 2015 at 18:22 GMT
Originally opened as xolvio/chimp#6
See https://github.com/vvo/selenium-standalone#running-headlessly
Issue by legacyWork
Monday Jun 13, 2016 at 21:57 GMT
Originally opened as xolvio/chimp#397
No errors
./node_modules/.bin/chimp
[chimp] Running...
selenium-standalone installation [=================== ] 97% 0.1s[Error: Missing /Users/myUser/AUTOMATION/AutomationDev/javascript_ui_test/node_modules/chimp/node_modules/selenium-standalone/.selenium/selenium-server/2.50.1-server.jar](Preferably a repository and easy reproduction steps)
(Upload long logs to Gist and link it here)
Join our Slack xolv.io/community #chimp channel, where you can find help and help others.
Issue by zvictor
Tuesday Jun 14, 2016 at 14:19 GMT
Originally opened as xolvio/chimp#399
To have the possibility of using chimp in debug
mode but still be able to suppress excessive logging e.g. by setting --log=silent
.
Debug mode forces logging into debug mode as well.
// src/lib/log.js:15
if (debug) {
log.setLevel('debug');
} else {
log.setLevel(argv.log);
}
Issue by samhatoum
Saturday Jul 11, 2015 at 21:28 GMT
Originally opened as xolvio/chimp#33
Just like Selenium but Appium
Also see if calaba.sh can be used here
Issue by duclet
Friday Jun 24, 2016 at 11:20 GMT
Originally opened as xolvio/chimp#406
Similar to how the mocha-helper.js file exists and is executed by mocha-wrapper.js, it would be nice to allow us to specify other files which should be executed as well.
Issue by nichite
Thursday Jan 21, 2016 at 23:06 GMT
Originally opened as xolvio/chimp#236
The feature of wrapping asynchronous methods with wrapAsync doesn't seem to work properly on the webdrivercss command for taking css diff screenshots. The call to the function looks like this:
browser.webdrivercss('body', {
name: 'body',
elem: 'body'
}, function (err, res){
assert.ifError(err);
assert.ok(res.body.isWithinMisMatchTolerance);
});
It looks to be in the standard style where the last argument is a cb that takes err, res as arguments. According to what I've read, wrapAsync
should be able to handle this.
I've wrapped the function to be synchronous like this:
var cssSync = wrapAsync(browser.webdrivercss);
var res = cssSync('body', {
name: 'body',
elem: 'body'
});
assert.ok(res.body.isWithinMisMatchTolerance);
Still, whenever I run this I get the error: Can't wait without a fiber
.
I've also tried passing in browser
or this
as contexts, just in case. No dice.
Thoughts?
Issue by thebarty
Thursday May 19, 2016 at 06:38 GMT
Originally opened as xolvio/chimp#381
Hi guys,
I'd love to use chai-string
-Matchers, in order to do something like
// chai string is cool (!!)
expect('abcdef').to.startWith('abc');
// which is much better than using underscore.string
// expect(s.startsWith('abcdef', 'abc')).to.be.true
A simple npm install --save-dev chai-string
did NOT work for me...
Any ideas how to make this work with chimp?
Issue by billyvg
Thursday May 05, 2016 at 16:26 GMT
Originally opened as xolvio/chimp#364
URL: https://chimp.readme.io/docs/using-saucelabs-browserstack-seleniumgrid
The example should maybe be updated to say that the config file should be a CommonJS module.
Issue by ghost
Tuesday Aug 30, 2016 at 08:31 GMT
Originally opened as xolvio/chimp#456
Hi!
I am relatively new to Chimp and super new to saucelabs. I have trouble connecting to sauce labs.
By now I got a minimal test running locally (and it passes).
But when trying to connect to sauce labs, the test fails:
An element could not be located on the page using the given search parameters.
Is there any resource that could walk me through how to set up chimp and sauce labs to correctly work with each other?
Issue by gesweind
Tuesday Apr 12, 2016 at 15:42 GMT
Originally opened as xolvio/chimp#331
I am a chimp newb, so bear with me. I would like to be able to put my own config settings (for example a backend service URL that I need to hit before testing) in the chimp config file. Is there a clean way to do this so that I can access these settings within my tests?
Issue by alexbardas
Wednesday Jun 01, 2016 at 09:50 GMT
Originally opened as xolvio/chimp#391
Able to use Tape for writing e2e tests.
Tape is one of the simplest and best testing frameworks, should probably be officially supported.
Join our Slack xolv.io/community #chimp channel, where you can find help and help others.
Issue by lorensr
Friday May 06, 2016 at 00:32 GMT
Originally opened as xolvio/chimp#369
It would be helpful if one of these worked:
chimp help
chimp -h
chimp --help
man chimp
Issue by shrop
Wednesday Dec 16, 2015 at 11:30 GMT
Originally opened as xolvio/chimp#197
Example chimp command line: $ chimp --watch --watchSource=<meteor-app-root> --screenshotsOnError=true --ddp=http://localhost:3000
When running the above, chimp will go into a loop and continue to rerun all tests because it detects that screenshots are being added to <meteor-app-root>/tests/cucumber/
.
More or less thinking this through out loud. The best way to prevent may be to set a path for screenshots outside of the app source tree. An alternative is to run chimp without --watch
mode.
Another option is to ignore png files in tests folders when watching.
Thoughts? thanks!
Issue by samhatoum
Tuesday Feb 16, 2016 at 07:47 GMT
Originally opened as xolvio/chimp#280
This is a good idea for frameworks like Meteor
Requested here: meteor/todos#15
Another option to use a config file with Meteor is to put the config file under .config/chimp.js
so that Meteor ignores the dot directory, then pass the file to Chimp as the first param, like this:
chimp .config/chimp.json <other options>
Issue by laurentpayot
Tuesday Apr 26, 2016 at 12:02 GMT
Originally opened as xolvio/chimp#346
I'm aware of #257 for Cucumber files but I couldn't make Chimp detect my .coffee
files with --coffee
or --compiler=coffee:whatever
options. I use Mocha, and .js
test files are detected and work fine.
Here is my command line (I'm using Meteor with Webpack):
./node_modules/.bin/chimp --ddp=http://localhost:3000 --mocha --path=src/tests
CoffeeScript support would be greatly appreciated.
Issue by samhatoum
Saturday Feb 13, 2016 at 20:15 GMT
Originally opened as xolvio/chimp#276
Chimp runs these sequentially at the moment. When pure domain tests are used, they should be completely independent of any framework and therefore parallel running should be doable.
Issue by jirikrepl
Thursday Mar 24, 2016 at 11:12 GMT
Originally opened as xolvio/chimp#316
Hello Xolvio,
I want run Meteor and Chimp at Codeship
I done settings https://chimp.readme.io/#section--full-continuous-integration-support-
in this way
http://stackoverflow.com/questions/36198667/run-meteor-tests-with-chimp-at-codeship-ci
But how can you get images of failed tests?
https://chimp.readme.io/#section--full-continuous-integration-support-
Thanks a lot
Issue by PierreCBSI
Wednesday Aug 31, 2016 at 18:36 GMT
Originally opened as xolvio/chimp#458
Setting the cucumber step timeout to some low threshold should have steps fail within expected timeframe, and immediately proceed to the next step in the scenario.
Setting the cucumber step timeout to some low threshold has the step (apparently) timeout in chimp/console, but codeblock from the timed-out step appear to continue via webdriverio/console output (console.log() showing up from old steps, browser.url() being sent to chromedriver....)
Manually set the cucumber step timeout to some artificially low threshold (set in /usr/local/lib/node_modules/chimp/node_modules/cucumber/lib/cucumber/support_code/step_definition.js, search for "timeout")
launch chimp with multiple steps.
observe that some of the steps appear to timeout as expected while others will display weird behaviors such as step 3 console.log() observed during the execution of step 8, or chromedriver jumping from step 10 browser.url() call to a (timed out) step 4, before going back to step 11...
following modified code should work to expose the issue:
/features/my.feature:
Feature: Verify Bug
@watch
Scenario Outline: validate bug
When I navigate to <Url>
Examples:
| Url |
| http://www.cbs.com/shows/american-gothic/ |
| http://www.cbs.com/shows/beauty-and-the-beast/ |
| http://www.cbs.com/shows/blue_bloods/ |
| http://www.cbs.com/shows/braindead/ |
| http://www.cbs.com/shows/bull/ |
| http://www.cbs.com/shows/code-black/ |
| http://www.cbs.com/shows/criminal_minds/ |
| http://www.cbs.com/shows/criminal-minds-beyond-borders/ |
| http://www.cbs.com/shows/csi/ |
| http://www.cbs.com/shows/csi-miami/ |
| http://www.cbs.com/shows/doubt/ |
| http://www.cbs.com/shows/elementary/ |
| http://www.cbs.com/shows/extant/ |
| http://www.cbs.com/shows/flashpoint/ |
| http://www.cbs.com/shows/the-game/ |
| http://www.cbs.com/shows/ghost-whisperer/ |
| http://www.cbs.com/shows/the_good_wife/ |
| http://www.cbs.com/shows/the-guardian/ |
| http://www.cbs.com/shows/hawaii_five_0/ |
/features/support/my.js:
module.exports = function() {
this.When(/^I/^I navigate to (.*)$/, function(myURL) {
var start = new Date().getTime();
console.log("!!**** " + start);
browser.url(myURL);
var duration = new Date().getTime() - start;
console.log(" ~~ " + browser.getTitle() + " ** " + duration + "*****");
browser.url("About:blank");
});
}
Join our Slack xolv.io/community #chimp channel, where you can find help and help others.
Issue by ghost
Tuesday Aug 23, 2016 at 19:25 GMT
Originally opened as xolvio/chimp#453
What is the usual flow though?
You have to start the server, run the tests and then stop the server.
What's the best practice to accomplish this?
Issue by dankelleher
Wednesday Aug 03, 2016 at 19:29 GMT
Originally opened as xolvio/chimp#439
When using selenium and browserStack, I can set the browser version on the command line like this:
chimp --host="hub.browserstack.com" --port=80 --key=“XXX” --user=“XXX” --name=“tests” --ddp=http://www.my-url.com:80 --browser=ie --platform=WIN8 --version=11
See chimp-helper.js line: version: parseNullableString(process.env['chimp.version']),
if I have --version on the command line, chimp just prints the version
0.38.0
Make a request to browserstack like so: (fill in a valid key, username and url)
chimp --host="hub.browserstack.com" --port=80 --key=“XXX” --user=“XXX” --name=“tests” --ddp=http://www.my-url.com:80 --browser=ie --platform=WIN8 --version=11
(Upload long logs to Gist and link it here)
Join our Slack xolv.io/community #chimp channel, where you can find help and help others.
Issue by DanielGJohnsen
Wednesday Sep 21, 2016 at 13:58 GMT
Originally opened as xolvio/chimp#477
I am running integration testing and have scenarios which are connected. They are in separate features folders, and need to be executed in order.
Is there a way to make the --path handle multiple arguments based on the order they are in?
I.e chimp --path="scenario-1 scenario-2".
Issue by legacyWork
Tuesday Jun 14, 2016 at 00:21 GMT
Originally opened as xolvio/chimp#398
https://www.npmjs.com/package/chimp
talks about some chimp.js file in a bin folder (Usage in a gulp task). This file does not exist anywhere. In fact the whole gulp process for chimp does not work as described. It is related to the earlier bug I filed (which i manually fixed by going into some deep dive node_modules config file and changing a number to 2.53.0)
/Users/myUser/AUTOMATION/AutomationDev/javascript_ui_test/node_modules/chimp/lib/cucumberjs/cucumber.js:239
if (features.indexOf(',') !== -1) {
^
TypeError: Cannot read property 'indexOf' of undefined
(Preferably a repository and easy reproduction steps)
(Upload long logs to Gist and link it here)
Join our Slack xolv.io/community #chimp channel, where you can find help and help others.
Issue by Sanjo
Wednesday Feb 17, 2016 at 12:03 GMT
Originally opened as xolvio/chimp#285
Issue by samhatoum
Saturday Jul 11, 2015 at 21:28 GMT
Originally opened as xolvio/chimp#33
Just like Selenium but Appium
Also see if calaba.sh can be used here
Issue by Sanjo
Monday Apr 13, 2015 at 18:22 GMT
Originally opened as xolvio/chimp#6
See https://github.com/vvo/selenium-standalone#running-headlessly
Issue by samhatoum
Saturday Jul 11, 2015 at 21:28 GMT
Originally opened as xolvio/chimp#33
Just like Selenium but Appium
Also see if calaba.sh can be used here
Issue by dilipkumar2k6
Tuesday May 31, 2016 at 20:24 GMT
Originally opened as xolvio/chimp#390
Use chimp.js in enterprise npm repository
Not able to use chimp.js in enterprise npm repository because cucumber is used as forked version as below
"cucumber": "xolvio/cucumber-js#v0.9.4-chimp.3",
Since enterprise NPM repo doesn't have connectivity to github.com therefore it fails here.
xolvio/cucumber-js#v0.9.4-chimp.3
hosting on github.comnpm ERR! Command failed: git clone --template=/Users/REDACTED/.npm/_git-remotes/_templates --mirror [email protected]:xolvio/cucumber-js.git /Users/REDACTED/.npm/_git-remotes/git-github-com-xolvio-cucumber-js-git-ac9d35ff
npm ERR! Cloning into bare repository '/Users/REDACTED/.npm/_git-remotes/git-github-com-xolvio-cucumber-js-git-ac9d35ff'...
npm ERR! ssh_exchange_identification: Connection closed by remote host
npm ERR! fatal: Could not read from remote repository.
Can we take any of following approach?
Please let me know if I have any other options to solve this problem.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.