mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed feature tests related to process watcher.
This commit is contained in:
committed by
Akshay Joshi
parent
00ebc58795
commit
7b568cfce2
@@ -45,7 +45,7 @@ def close_bgprocess_popup(tester):
|
||||
|
||||
|
||||
def close_process_watcher(tester):
|
||||
attempt = 5
|
||||
attempt = 10
|
||||
while attempt > 0:
|
||||
close_btn = tester.page.find_by_xpath(
|
||||
NavMenuLocators.process_watcher_close_button_xpath)
|
||||
|
||||
@@ -820,6 +820,7 @@ def reset_layout_db(user_id=None):
|
||||
'("Browser/Layout", "SQLEditor/Layout", "Debugger/Layout")'
|
||||
' AND USER_ID=?', user_id
|
||||
)
|
||||
cur.execute('DELETE FROM process')
|
||||
conn.commit()
|
||||
conn.close()
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user