Skip to content

Commit

Permalink
#fix Fix selenium test
Browse files Browse the repository at this point in the history
  • Loading branch information
duker33 committed Feb 15, 2019
1 parent db448d4 commit 117de26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shopelectro/tests/tests_selenium.py
Original file line number Diff line number Diff line change
Expand Up @@ -1086,7 +1086,7 @@ def search(self):
self.browser.find_element_by_class_name('search-form').submit()
self.wait.until(EC.url_contains('/search/'))
self.wait.until(EC.visibility_of_element_located(
(By.TAG_NAME, 'h1')
(By.CLASS_NAME, 'search-result-link')
))

def test_autocomplete_can_expand_and_collapse(self):
Expand Down

0 comments on commit 117de26

Please sign in to comment.