mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Prompt the user to save dirty queries rather than discard them for a more natural workflow. Fixes #1972
This commit is contained in:
committed by
Dave Page
parent
b211eb199c
commit
76939e4f63
@@ -96,7 +96,7 @@ class PgadminPage:
|
||||
self.find_by_xpath("//li[contains(@class, 'context-menu-item')]/span[contains(text(), 'Remove Panel')]").click()
|
||||
self.driver.switch_to.frame(self.driver.find_elements_by_tag_name("iframe")[0])
|
||||
time.sleep(.5)
|
||||
self.click_element(self.find_by_xpath('//button[contains(@class, "ajs-button") and contains(.,"Yes")]'))
|
||||
self.click_element(self.find_by_xpath('//button[contains(@class, "ajs-button") and contains(.,"Don\'t save")]'))
|
||||
self.driver.switch_to.default_content()
|
||||
|
||||
def close_data_grid(self):
|
||||
|
||||
Reference in New Issue
Block a user