You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we are struggling with feature tests failing with error messages like that
org.openqa.selenium.TimeoutException:
Expected condition failed: waiting for net.serenitybdd.core.pages.RenderedPageObjectView$$Lambda$1027/0x00007fad704fb920@3cd7ba1d (tried for 0 second(s) with 50 milliseconds interval
I have already learned that the "0 second(s)" is just a rounding issue and indicates that the default wait-for-timeout of 500 ms has not been overwritten even though I am doing my best.
Now, how can I set the main timeouts globally?
As far as I can judge, these serenity.conf settings do nothing
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi there,
we are struggling with feature tests failing with error messages like that
I have already learned that the "0 second(s)" is just a rounding issue and indicates that the default wait-for-timeout of 500 ms has not been overwritten even though I am doing my best.
Now, how can I set the main timeouts globally?
As far as I can judge, these
serenity.conf
settings do nothingPlease contradict me, if I am wrong.
I just stumbled over another part of documentation indicates that timeouts are set through, which also do not cope:
Which part of documentation is correct? As soon as I understand the configuration I am very happy to contribute the doc updates.
I found issues where the same situation is discussed:
Beta Was this translation helpful? Give feedback.
All reactions