-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Element.isPresent() script timeout #5151
Comments
I experience more or less the same, I think it's related to
If I globally do So I tried to Looks like toggling |
@stan187 interesting, I solved another error I had by adding Unfortunately this did not resolve the issue described above. I see that you're mentioning Angular 7 specifically, did you try to downgrade Angular to make this work? |
@glemiere, no I haven't downgraded. It's a huge customer project. I cannot downgrade because protractor cannot handle tests that involve two separate Angular 7 apps :-D |
This just started happening for me. It's very inconsistent. Sometimes it works for a decent amount of time and then sometimes it just keeps failing over and over. Are there any plans to fix this? |
I had to switch to Cypress as I didn’t find a solution. However you will only be able to test on Chrome, but Cypress is really cool! You can see how to use it with Angular one my StackOverflow answer: https://stackoverflow.com/a/54777134/2196157 |
i have the same problem my code snippets
the error
|
Same problems here. |
Same problems here |
Had this issue as well and had thought this was really a protractor bug. After setting browser.waitForAngularEnabled(false) at the beginning of my tests, the issue didn't come up again BUT it required a lot of additional handling with sleeps and waits in order for my tests to run smoothly... This MIGHT be the reason for your issues as well. Where I got the idea of the long-running background task from: https://jarifibrahim.github.io/blog/protractor-and-page-synchronization/ |
Hi!
I have an issue using protractor with jasmine, and I wonder if there is an issue with the framework, or if my limited knowledge of the framework plays against me. I found a fairly recent StackOverflow question with four upvotes but no answer so far, which leads me to think that something may be going wrong with the latest version of protractor.
Here is my test:
It all works great until the test reach the last attempt to detect if the modal popped out:
This
isPresent()
doesn't returntrue
orfalse
, instead nothing happens and protractor stops and outputs the following error:Failed: script timeout: result was not received in 11 seconds
Any idea what could be going wrong?
Thanks!
The text was updated successfully, but these errors were encountered: