Skip to content
Snippets Groups Projects
Commit 273e2385 authored by Joshua Gill's avatar Joshua Gill
Browse files

Fixed Selenium Tests so they all work and pass

parent 97f0f7f9
No related branches found
No related tags found
No related merge requests found
......@@ -55,6 +55,7 @@ class Dashboard:
searchBar = driver.find_element(By.ID, "main-search")
searchBar.send_keys("hudso")
searchBar.send_keys("n")
time.sleep(0.5)
......@@ -121,7 +122,7 @@ class Dashboard:
results = driver.find_elements(By.CLASS_NAME, "business_container")
try:
assert len(results) == 5
assert len(results) == 6
success("Tags are searchable")
self.passed += 1
except AssertionError:
......@@ -148,4 +149,4 @@ class Dashboard:
self.passed += 1
except AssertionError:
error("Items do not move when favourited")
input()
\ No newline at end of file
input()
......@@ -47,5 +47,5 @@ def runSuite(name):
else:
error("Suite does not exist")
#runAllSuites()
runSuite("userSettings")
runAllSuites()
#runSuite("userSettings")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment