mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-24 09:40:21 -06:00
Ensure feature tests are compatible with Python 3.5.
This is required even if they aren't run, as RPM builds will try to byte compile all files in the distro.
This commit is contained in:
parent
da9aa3ccbd
commit
981ebfbcf7
@ -55,10 +55,10 @@ class PgadminPage:
|
||||
self.find_by_xpath("//*[@id='tree']//*[.='" + tree_item_text + "']/../*[@class='aciTreeButton']").click()
|
||||
|
||||
def find_by_xpath(self, xpath):
|
||||
return self.wait_for_element(lambda (driver): driver.find_element_by_xpath(xpath))
|
||||
return self.wait_for_element(lambda driver: driver.find_element_by_xpath(xpath))
|
||||
|
||||
def find_by_id(self, element_id):
|
||||
return self.wait_for_element(lambda (driver): driver.find_element_by_id(element_id))
|
||||
return self.wait_for_element(lambda driver: driver.find_element_by_id(element_id))
|
||||
|
||||
def find_by_partial_link_text(self, link_text):
|
||||
return self._wait_for(
|
||||
|
Loading…
Reference in New Issue
Block a user