feature tests fix

Usman Muzaffar <[email protected]>
Newsgroups gmane.comp.db.postgresql.pgadmin.devel
Message-ID <CAOiUKEPTqruX-eAdSS9xd5G6cYTpaGq4+4wH-c+mbo8zdg=Xdg@mail.gmail.com>
Hi Hackers,

Please find here attached patch for a small fix for feature test
'retry_click' function.

-- 


Thanks,

Usman Muzaffar
QA Team
EnterpriseDB Corporation
feature_test_v1.patch (application/octet-stream, 510 B)
diff --git a/web/regression/feature_utils/pgadmin_page.py b/web/regression/feature_utils/pgadmin_page.py
index 3b1a8f3535..6bdf80392b 100644
--- a/web/regression/feature_utils/pgadmin_page.py
+++ b/web/regression/feature_utils/pgadmin_page.py
@@ -792,5 +792,5 @@ class PgadminPage:
                     EC.visibility_of_element_located(verify_locator))
                 click_status = True
             except Exception:
-                attempt = +1
+                attempt += 1
         return click_status
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.