Add support in query history to show internal queries generated by pgAdmin during save data operations. Fixes #4612

This commit is contained in:
Yosry Muhammad
2019-08-16 17:17:12 +05:30
committed by Akshay Joshi
parent 4403f326e9
commit 687204771c
17 changed files with 712 additions and 363 deletions
@@ -304,7 +304,8 @@ CREATE TABLE public.nonintpkey
)
time.sleep(0.2)
self._update_cell(cell_xpath, data[str(idx)])
self.page.find_by_id("btn-save-data").click() # Save data
self.page.find_by_css_selector(
QueryToolLocatorsCss.btn_save_data).click()
# There should be some delay after save button is clicked, as it
# takes some time to complete save ajax call otherwise discard unsaved
# changes dialog will appear if we try to execute query before previous