mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed feature tests failure on chrome caused due to selenium grid implementation changes.
This commit is contained in:
parent
46e9924ebb
commit
8ec1d4c9eb
@ -1178,10 +1178,14 @@ class PgadminPage:
|
||||
:param el:
|
||||
"""
|
||||
actions = ActionChains(self.driver)
|
||||
if "platform" in self.driver.capabilities:
|
||||
platform = (self.driver.capabilities["platform"]).lower()
|
||||
elif "platformName" in self.driver.capabilities:
|
||||
platform = (self.driver.capabilities["platformName"]).lower()
|
||||
if el:
|
||||
# Must step
|
||||
el.click()
|
||||
if self.driver.capabilities["platformName"] == 'mac':
|
||||
if 'mac' in platform:
|
||||
# FF step
|
||||
el.send_keys(Keys.COMMAND + "v")
|
||||
# Chrome Step
|
||||
|
Loading…
Reference in New Issue
Block a user