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
[ci rspec profile]
basically never use built-in implicit waiting, since it makes everything
wait (not just find_element, but attribute lookups, etc.). that means that
StaleElementProtection would automatically always take the full 15 seconds,
because that's how long we'd wait for the StaleElementReferenceError to
come back
instead roll our own, which allows those to recover almost immediately,
and prevents other unnecessary waiting. disable_implicit_wait is also
now much cheaper since it doesn't mean two ruby <-> firefox roundtrips
test plan:
1. specs should be faster, e.g.
./spec/selenium/quizzes/quizzes_unpublish_quiz_teacher_spec.rb:20
now takes 10 sec instead of 25, since it always has a
StaleElementReferenceError
Change-Id: Ice31e64a274930cdf8af4407b5632e961683cdf6
Reviewed-on: https://gerrit.instructure.com/98295
Tested-by: Jenkins
Reviewed-by: Landon Wilkins <lwilkins@instructure.com>
Product-Review: Landon Wilkins <lwilkins@instructure.com>
QA-Review: Landon Wilkins <lwilkins@instructure.com>
0 commit comments