Commit 8772df04 by Ben Patterson Committed by GitHub

Merge pull request #13756 from edx/benp/flaky-textbook-tests

Stabilize textbook tests
parents adbe8afb b34600f1
...@@ -16,7 +16,7 @@ class TextbookUploadPage(CoursePage): ...@@ -16,7 +16,7 @@ class TextbookUploadPage(CoursePage):
url_path = "textbooks" url_path = "textbooks"
def is_browser_on_page(self): def is_browser_on_page(self):
return self.q(css='body.view-textbooks').present return self.q(css='.textbooks-list').visible
def open_add_textbook_form(self): def open_add_textbook_form(self):
""" """
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment