Maintenance: Improves CI reliability of browser:core tests in batch 2 by adding delay before performing ticket zoom secondary button action to avoid accessing stale element.

This commit is contained in:
Mantas Masalskis 2019-09-16 11:08:44 +02:00 committed by Thorsten Eckel
parent 01729584f0
commit 256e7513b3

View file

@ -2525,6 +2525,8 @@ wait untill text in selector disabppears
end end
end end
# avoid accessing a stale element when accessing task type
sleep 1
task_type( task_type(
browser: instance, browser: instance,
type: params[:task_type] || 'stayOnTab', type: params[:task_type] || 'stayOnTab',