mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Add a 0.5 second delay to treeview node expansion in the feature tests, to try to (temporarily) allow for script loading time. Tentatively enable the feature tests in CI to see if it works.
This commit is contained in:
parent
de80545400
commit
8a01cdfaf9
@ -29,7 +29,7 @@ $WORKSPACE/pgadmin-venv/bin/pip install -r web/regression/requirements.txt
|
|||||||
echo "Running regression tests..."
|
echo "Running regression tests..."
|
||||||
echo
|
echo
|
||||||
|
|
||||||
$WORKSPACE/pgadmin-venv/bin/python $WORKSPACE/web/regression/runtests.py --exclude feature_tests
|
$WORKSPACE/pgadmin-venv/bin/python $WORKSPACE/web/regression/runtests.py
|
||||||
|
|
||||||
echo "Cleaning up..."
|
echo "Cleaning up..."
|
||||||
echo
|
echo
|
||||||
|
@ -65,6 +65,7 @@ class PgadminPage:
|
|||||||
self.find_by_xpath("//*[@id='tree']//*[.='" + tree_item_text + "' and @class='aciTreeItem']").click()
|
self.find_by_xpath("//*[@id='tree']//*[.='" + tree_item_text + "' and @class='aciTreeItem']").click()
|
||||||
|
|
||||||
def toggle_open_tree_item(self, tree_item_text):
|
def toggle_open_tree_item(self, tree_item_text):
|
||||||
|
time.sleep(0.5)
|
||||||
self.find_by_xpath("//*[@id='tree']//*[.='" + tree_item_text + "']/../*[@class='aciTreeButton']").click()
|
self.find_by_xpath("//*[@id='tree']//*[.='" + tree_item_text + "']/../*[@class='aciTreeButton']").click()
|
||||||
|
|
||||||
def find_by_xpath(self, xpath):
|
def find_by_xpath(self, xpath):
|
||||||
|
Loading…
Reference in New Issue
Block a user