Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide more verbose output when iWaitForAjaxToFinish() fails. #479

Open
marcoscano opened this issue Mar 20, 2018 · 2 comments
Open

Provide more verbose output when iWaitForAjaxToFinish() fails. #479

marcoscano opened this issue Mar 20, 2018 · 2 comments

Comments

@marcoscano
Copy link
Contributor

Currently error messages when an AJAX call fails are quite short:

AfterStep # Drupal\DrupalExtension\Context\MinkContext::afterJavascriptStep()
      Unable to complete AJAX request. (RuntimeException)

or

And I wait for AJAX to finish                                                                                 # MinkContext::iWaitForAjaxToFinish()
      Unable to complete AJAX request. (RuntimeException)

Could we add to that exception message more information about the event that failed?

marcoscano added a commit to marcoscano/drupalextension that referenced this issue Mar 20, 2018
marcoscano added a commit to marcoscano/drupalextension that referenced this issue Mar 22, 2018
jhedstrom added a commit that referenced this issue Mar 22, 2018
#479: Provide more verbose exception message when AJAX fails.
@brooke-heaton
Copy link

iWaitForAjaxToFinish appears to be inherently problematic function. All tests are now failing at this step for me on 4.1 using selenium/standalone-chrome:3.141.59-oxygen

@mxr576
Copy link

mxr576 commented Oct 28, 2019

Related #557

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants