From 256e7513b36889725410065e3727f2d6b96681c5 Mon Sep 17 00:00:00 2001 From: Mantas Masalskis Date: Mon, 16 Sep 2019 11:08:44 +0200 Subject: [PATCH] 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. --- test/browser_test_helper.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/browser_test_helper.rb b/test/browser_test_helper.rb index 5d7c594d6..33c56aea0 100644 --- a/test/browser_test_helper.rb +++ b/test/browser_test_helper.rb @@ -2525,6 +2525,8 @@ wait untill text in selector disabppears end end + # avoid accessing a stale element when accessing task type + sleep 1 task_type( browser: instance, type: params[:task_type] || 'stayOnTab',