Commit c0177093 by Jonathan Piacenti

Fix bok_choy identification of anonymous threads.

parent 07baaec6
...@@ -429,7 +429,7 @@ class InlineDiscussionThreadPage(DiscussionThreadPage): ...@@ -429,7 +429,7 @@ class InlineDiscussionThreadPage(DiscussionThreadPage):
).fulfill() ).fulfill()
def is_thread_anonymous(self): def is_thread_anonymous(self):
return not self.q(css=".posted-details > .username").present return not self.q(css=".posted-details > .username-wrapper > .username").present
class DiscussionUserProfilePage(CoursePage): class DiscussionUserProfilePage(CoursePage):
......
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