Adding a delay clearly didn't fix the feature tests :-(

pull/3/head
Dave Page 2017-04-07 15:33:41 +01:00
parent a431937b50
commit a2c4cb1606
2 changed files with 1 additions and 2 deletions

View File

@ -29,7 +29,7 @@ $WORKSPACE/pgadmin-venv/bin/pip install -r web/regression/requirements.txt || {
echo "Running regression tests..."
echo
$WORKSPACE/pgadmin-venv/bin/python $WORKSPACE/web/regression/runtests.py || { echo 'ERROR: Error detected when running the Python tests.' ; exit 1; }
$WORKSPACE/pgadmin-venv/bin/python $WORKSPACE/web/regression/runtests.py --exclude feature_tests || { echo 'ERROR: Error detected when running the Python tests.' ; exit 1; }
echo "Cleaning up..."
echo

View File

@ -65,7 +65,6 @@ class PgadminPage:
self.find_by_xpath("//*[@id='tree']//*[.='" + tree_item_text + "' and @class='aciTreeItem']").click()
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()
def find_by_xpath(self, xpath):