mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-01-08 23:23:23 -06:00
Handle the intermittent failure for query tool test.
This commit is contained in:
parent
be1bdbcd14
commit
58cd21686b
@ -563,7 +563,7 @@ SELECT 1, pg_sleep(300)"""
|
|||||||
QueryToolLocators.btn_commit)
|
QueryToolLocators.btn_commit)
|
||||||
if not commit_button.get_attribute('disabled'):
|
if not commit_button.get_attribute('disabled'):
|
||||||
commit_button.click()
|
commit_button.click()
|
||||||
time.sleep(0.5)
|
time.sleep(2)
|
||||||
|
|
||||||
# enable auto-commit and disable auto-rollback
|
# enable auto-commit and disable auto-rollback
|
||||||
self.page.check_execute_option('auto_commit')
|
self.page.check_execute_option('auto_commit')
|
||||||
|
Loading…
Reference in New Issue
Block a user