From 626e2290e74719715e53db9bb20fb04bd3ca6262 Mon Sep 17 00:00:00 2001 From: downtownallday Date: Tue, 18 Jun 2024 12:57:48 -0400 Subject: [PATCH] QA: attempt fixing logout click intercepted exception on github actions --- tests/lib/python/browser/NextcloudAutomation.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/lib/python/browser/NextcloudAutomation.py b/tests/lib/python/browser/NextcloudAutomation.py index abc631b7..16e02419 100644 --- a/tests/lib/python/browser/NextcloudAutomation.py +++ b/tests/lib/python/browser/NextcloudAutomation.py @@ -46,8 +46,11 @@ class NextcloudAutomation(object): d.find_el('#settings .avatardiv').click() else: # nc >= 26 - el.click() - d.wait_tick(100) + try: + el.click() + except ElementClickInterceptedException as e: + d.wait_tick(100) + el.click() def logout(self): d = self.d