I have a simple casperjs test that submits a form. It always works on my computer (OSX) but fails *most of the time* on Windows 7/8 when executed with other tests.
casper.test.begin('Search', function(test) {
this.fill('#search-form, { query: 'good' }, false);
this.click('#search-form button');
});
});
});
Yields (most of the time):
subject: false
- The server logs show casperjs/phatomjs tried to access `search` with an empty query.
- The test works fine when run alone on Windows 7/8.
- It also works on OSX, even in a test "suite".
- Another test with a few simple assertExists can break the form submit test.
$ casperjs --version
1.1.0-beta3
$ phantomjs --version
1.9.7
Something wrong with my script or shall I open an issue? In the affirmative, any workaround?
Thanks