Commit c6bbc724 by Eric Fischer

Merge pull request #9361 from edx/efischer/bok-choy-flakes

Fixing flaky TeamPageTest bokchoy tests
parents f84243d8 c170ff44
......@@ -402,6 +402,7 @@ class InlineDiscussionPage(PageObject):
return self.q(css=self._discussion_selector + " " + selector)
def is_browser_on_page(self):
self.wait_for_ajax()
return self.q(css=self._discussion_selector).present
def is_discussion_expanded(self):
......
......@@ -261,6 +261,7 @@ class TeamPage(CoursePage, PaginatedUIMixin):
def is_browser_on_page(self):
"""Check if we're on the teams list page for a particular team."""
self.wait_for_ajax()
if self.team:
if not self.url.endswith(self.url_path):
return False
......
......@@ -748,7 +748,6 @@ class CreateTeamTest(TeamsTabBase):
self.verify_my_team_count(0)
@flaky # TODO fix this, see TNL-3069
@attr('shard_5')
@ddt.ddt
class TeamPageTest(TeamsTabBase):
......
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