Handle the intermittent failure for query tool test.

pull/6569/head
Akshay Joshi 2023-07-13 19:02:55 +05:30
parent be1bdbcd14
commit 58cd21686b
1 changed files with 1 additions and 1 deletions

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')