behat
behat copied to clipboard
No AJAX timeout has been defined error when press or click the button.
When I use in the test either I press "Submit" or I click the element with selector "form > button" I am getting the same error:
No AJAX timeout has been defined. Please verify that "Drupal\MinkExtension" is configured in behat.yml (and not "Behat\MinkExtension"). (Exception)
This is not defined extension and I guess not used at all so not sure what can be done about that?
I've found a solution by using I click on element which has onclick handler located at "form > button"
The problem has come back, after pulling fresh dev version of docker image of docksal/behat.
However it works with docksal/behat:latest
Unfortunately it happens again. It seems like it depends on the response type.
When element throws a validation error it works OK - I mean only this version I click on element which has onclick handler located at "form > button"
but when validation is OK and it should take user to another page I've got that missing ajax_timeout error.
Not sure if it has anything to do with the fact that I'm trying to test the Vue application?