mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-01-09 23:54:09 -06:00
Fixed feature test failures.
This commit is contained in:
parent
2f9a29f663
commit
9089750e21
@ -108,25 +108,29 @@ class TreeAreaLocators():
|
|||||||
@staticmethod
|
@staticmethod
|
||||||
def sub_nodes_of_schemas_node(database_name):
|
def sub_nodes_of_schemas_node(database_name):
|
||||||
xpath = "//div[div[div[div[div[span[span[text()='%s']]]]]]]/" \
|
xpath = "//div[div[div[div[div[span[span[text()='%s']]]]]]]/" \
|
||||||
"following-sibling::ul/li[7]/ul/li/div//div/span/" \
|
"following-sibling::ul/li[" \
|
||||||
"span[@class='aciTreeText']" % database_name
|
"@role='presentation']/ul/li/div//div/span/span[" \
|
||||||
|
"@class='aciTreeText']" % database_name
|
||||||
return xpath
|
return xpath
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def sub_nodes_of_schemas_node_exp_status(database_name):
|
def sub_nodes_of_schemas_node_exp_status(database_name):
|
||||||
xpath = "//div[div[div[div[div[span[span[text()='%s']]]]]]]/" \
|
xpath = "//div[div[div[div[div[span[span[text()='%s']]]]]]]/" \
|
||||||
"following-sibling::ul/li[7]/ul/li/div" % database_name
|
"following-sibling::ul/li[@role='presentation']/ul/li/div" \
|
||||||
|
% database_name
|
||||||
return xpath
|
return xpath
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def sub_nodes_of_schema_node(database_name):
|
def sub_nodes_of_schema_node(database_name):
|
||||||
xpath = "//div[div[div[div[div[span[span[text()='%s']]]]]]]/" \
|
xpath = "//div[div[div[div[div[span[span[text()='%s']]]]]]]/" \
|
||||||
"following-sibling::ul/li[7]/ul/li/ul/li/div//div/" \
|
"following-sibling::ul/li[" \
|
||||||
"span[2]/span[2]" % database_name
|
"@role='presentation']/ul/li/ul/li/div//div/span[2]/span[2]" \
|
||||||
|
% database_name
|
||||||
return xpath
|
return xpath
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def sub_nodes_of_schema_node_exp_status(database_name):
|
def sub_nodes_of_schema_node_exp_status(database_name):
|
||||||
xpath = "//div[div[div[div[div[span[span[text()='%s']]]]]]]/" \
|
xpath = "//div[div[div[div[div[span[span[text()='%s']]]]]]]/" \
|
||||||
"following-sibling::ul/li[7]/ul/li/ul/li/div" % database_name
|
"following-sibling::ul/li[@role='presentation']" \
|
||||||
|
"/ul/li/ul/li/div" % database_name
|
||||||
return xpath
|
return xpath
|
||||||
|
Loading…
Reference in New Issue
Block a user