Fixed feature tests related to process watcher.

This commit is contained in:
Shubham Agarwal
2019-11-13 11:19:21 +05:30
committed by Akshay Joshi
parent 00ebc58795
commit 7b568cfce2
13 changed files with 88 additions and 36 deletions

View File

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

View File

@@ -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