Handle the intermittent failure for query tool test.

This commit is contained in:
Akshay Joshi 2023-07-13 19:02:55 +05:30
parent be1bdbcd14
commit 58cd21686b

View File

@ -563,7 +563,7 @@ SELECT 1, pg_sleep(300)"""
QueryToolLocators.btn_commit)
if not commit_button.get_attribute('disabled'):
commit_button.click()
time.sleep(0.5)
time.sleep(2)
# enable auto-commit and disable auto-rollback
self.page.check_execute_option('auto_commit')