Questions tagged [chimp.js]
37 questions
8
votes
1 answer
org.openqa.selenium.TimeoutException when loading angular SPA
I'm using chimp.js which enhances webdriver.io with some fibers magic so that the code can be defined in a synchronous way. This is the code:
var c = require('./config');
module.exports = function () {
this.When(/^I try to login with wrong…

peter
- 14,348
- 9
- 62
- 96
6
votes
1 answer
How to fix "gyp ERR! stack Error: Can't find Python executable python" on Windows?
I was trying to install chimp on my windows computer globally but could not succeed. Here is the error that I have been shown. Can anybody please help me regarding this?
C:\Users\Shahin>npm install -g chimp
npm WARN deprecated…

Kazi
- 1,461
- 3
- 19
- 47
3
votes
0 answers
How to use Firefox profile in chimp.js?
I am running chimp to automate some of my test cases. In one of them, I have to download a file and check if the file size matches. I was able to download the file automatically when clicking on its link in chrome by defining the following prefs in…

Thiago Costa
- 33
- 4
2
votes
1 answer
How to print to PDF using Node JS / Webdriver.io / Chimp?
I'm trying to use Chimp / Webdriver.io / Selenium in Node JS to try to test my @media print CSS to make sure everything shows up correctly when people print from my website.
How can I programatically get Chrome / Firefox to print to PDF? I don't…

Ryan Shillington
- 23,006
- 14
- 93
- 108
2
votes
1 answer
webdriver.io selecting multiple elements and clicking one by one
I'm using webdriver.io for some automated unit testing, I can select multiple elements using browser.elements
but I need to be able to click each of the selected elements
I know there's a browser.click() - but that would only click the first…

Danish
- 741
- 4
- 17
- 31
2
votes
1 answer
How to run headless browser testing in docker container
I have a node.js application that runs mocha tests using chimp, and it works normally when running inside my local OS. It uses Google Chrome to do the ui tests.
Currently, I am dockerizing this application... However, I am unsure about what I need…

Jean Alesi
- 167
- 2
- 16
1
vote
0 answers
Dismiss firefox update popup with WebdriverIO
I want to dismiss this popup when I'm running my tests with webdriverIO but I'm not able to do it.
I'm using chimp to run my tests
I tried with browser.alertdismiss() but it didn't work. Also, I tried using this NPM package and adding this…

Carlos Iribar
- 123
- 4
1
vote
1 answer
Chimp test stopped working, throwing error: missing or invalid 'entry.level'
I'm trying to run tests (Chimp/), there were working yesterday and today they are not. Here is chimp configuration:
module.exports = {
// - - - - CHIMP - - - -
watch: false,
watchWithPolling: false,
sync: true,
// - - - - WEBDRIVER-IO -…

akkonrad
- 1,043
- 1
- 10
- 25
1
vote
2 answers
Webdriverio/chimpjs - Launch Google Chrome with Gelocation permitted
I am writing a web application that depends heavily on geolocation. I am using chimpjs (combination of cucumber, webdriverio, chai) to do my BDD. I would like to launch google chrome with geolocation allowed. I think I must do this because I can…

RedMage
- 1,126
- 1
- 9
- 21
1
vote
0 answers
Unhandled rejection ReferenceError
I have installed Meteor app from official tutorial and it works fine.
But get error when I try to run acceptance test. I run meteor npm run chimp-watch.
At the beginning Chrome browser is opened with "data:," URL in
address bar.
And there is…

romansh
- 33
- 5
1
vote
1 answer
Can I click on a button on a modal with selenium?
I'm trying to use chimpjs with cucumber and selenium to automate login, but we currently do login through a modal. And currently all attempts to click on the login button on that modal result in the same error:
Error: unknown error: Element is not…

Nagoshi
- 131
- 6
1
vote
1 answer
What is proper way for fixtures while using chimp with Meteor
I'm playing with chimp testing tool. At the moment I can easily run cucumber and mocha tests. The problem is that I don't know how to add DB fixtures. I'd like to have initial data before running some tests (e.g. add test user into system).
BTW…

Jaro
- 982
- 1
- 10
- 25
0
votes
1 answer
Chimp.js with Mocha - save screenshots of failed tests on CircleCI
I am using Chimp.js to run E2E tests on CircleCI against my staging server which runs a Meteor app. Tests sometimes fails, and it would be great to take screenshot of UI to debug those failing tests.
Is it possible to save screenshots with Chimp and…

Jirik
- 1,435
- 11
- 18
0
votes
2 answers
how to define a global variable outside the describe block in mocha?
Hi I was trying to write a front-end testing using mocha chimp and webdriverio. as I had to work with different id in font end, in every block I had to define them for various purposes. I tried to define the ID outside the describe block then it…

Sanjida lina
- 123
- 2
- 10
0
votes
2 answers
Error running Chimp / Webdriver.io / Selenium on Fargate (Chrome failed to start)
I'm trying to run my test cases on Fargate using Chimp, which internally uses Webdriver.io / Selenium. They run just fine in my docker container when I'm running them on my EC2 instance, but as soon as I upload my container to ECS and try to…

Ryan Shillington
- 23,006
- 14
- 93
- 108