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

JBrowserDriver ajaxWait parameter times out incorrectly #320

Open
nddipiazza opened this issue Mar 15, 2018 · 0 comments
Open

JBrowserDriver ajaxWait parameter times out incorrectly #320

nddipiazza opened this issue Mar 15, 2018 · 0 comments

Comments

@nddipiazza
Copy link
Contributor

nddipiazza commented Mar 15, 2018

Look at #321

I've created a couple tests for ajax times here.

I noticed while running com.machinepublishers.AjaxResponseTest#testAjaxSpeed if you set the ajaxWait time to 50 seconds, the page timeout will always be around 17 seconds.

Several runs of AjaxResponseTest with ajaxWait = 50 seconds:

  1. java.lang.AssertionError: Time taken to process javascript page 17034
  2. java.lang.AssertionError: Time taken to process javascript page 17021
  3. java.lang.AssertionError: Time taken to process javascript page 17012

Run of NoAjaxTest:

  1. java.lang.AssertionError: Time taken to process javascript page 16997

The time taken should have been a little more than 50 seconds. Not 17 seconds.

nddipiazza added a commit to nddipiazza/jBrowserDriver that referenced this issue Mar 15, 2018
nddipiazza added a commit to nddipiazza/jBrowserDriver that referenced this issue Mar 15, 2018
nddipiazza added a commit to nddipiazza/jBrowserDriver that referenced this issue Mar 15, 2018
@nddipiazza nddipiazza changed the title JBrowserDriver processes ajax too slowly JBrowserDriver ajaxTime parameter times out incorrectly Mar 15, 2018
@nddipiazza nddipiazza changed the title JBrowserDriver ajaxTime parameter times out incorrectly JBrowserDriver ajaxWait parameter times out incorrectly Mar 15, 2018
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

1 participant