Commit c6b36e78 by Jonathan Piacenti

Fix bok_choy identification of anonymous threads.

parent dd9770a8
...@@ -477,7 +477,7 @@ class InlineDiscussionThreadPage(DiscussionThreadPage): ...@@ -477,7 +477,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
@wait_for_js @wait_for_js
def check_if_selector_is_focused(self, selector): def check_if_selector_is_focused(self, selector):
......
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