Updates:
point 1) I managed to get it fixed by setting different value for waitforInterval. Tipp: Keep it small - my mistake before was that I had it set at a much too high interval
// - - - - WEBDRIVER-IO - - - -
webdriverio: {
waitforTimeout: 10000, // time to wait until element appears
waitforInterval: 250, // KEEP SMALL (!!!) this is the INTERVAL in which waitFor* is looped for checks
},
point 2) I could not get modal-stability fixed. Within my wrapper I tried out this, but it did NOT help. Any other ideas on this?
/**
* Set a value to an input-element
*/
static setValue(selector, value) {
Stabilize.waitForVisible(selector)
browser.setValue(selector, '') // trying to prevent error that happens from time to time,
// where letters are messed up, p.e.
// expected '„est Question?T”' to equal '„Test Question?”'
browser.pause(500)
browser.setValue(selector, value)
}
point 3) I found out that bootstraps modal itself simply does NOT appear as expected from time to time. Webdriver clicks the button, but the modal simply does not fire up reliably. I am using “theduke:meteor-bootstrap-modal-prompt” to show it and have created an issue on github https://github.com/theduke/meteor-bootstrap-modal-prompt/issues/9.
point 4) Grabbing some screenshots and browser-console-logs from CircleCi could help finding the issue - does anyone know how to do this? I created a seperate topic for this How to make CircleCi save SCREENSHOTS and LOGS of the browsers console?
It would be really cool, if someone could give some feedback on this.
@sam Any suggestions?