Commit 0f3faacf by raeeschachar

Fixed test search flaky on Firefox and Chrome

parent 6d5047ef
...@@ -285,6 +285,7 @@ class BaseTeamsPage(CoursePage, PaginatedUIMixin, TeamCardsMixin, BreadcrumbsMix ...@@ -285,6 +285,7 @@ class BaseTeamsPage(CoursePage, PaginatedUIMixin, TeamCardsMixin, BreadcrumbsMix
""" """
self.q(css='.search-field').first.fill(string) self.q(css='.search-field').first.fill(string)
self.q(css='.action-search').first.click() self.q(css='.action-search').first.click()
self.wait_for_ajax()
self.wait_for( self.wait_for(
lambda: self._showing_search_results, lambda: self._showing_search_results,
description="Showing search results" description="Showing search results"
......
...@@ -812,7 +812,6 @@ class BrowseTeamsWithinTopicTest(TeamsTabBase): ...@@ -812,7 +812,6 @@ class BrowseTeamsWithinTopicTest(TeamsTabBase):
self.browse_teams_page.click_browse_all_teams_link() self.browse_teams_page.click_browse_all_teams_link()
self.assertTrue(self.topics_page.is_browser_on_page()) self.assertTrue(self.topics_page.is_browser_on_page())
@flaky # TODO: fix flaky test. See TNL-3489
def test_search(self): def test_search(self):
""" """
Scenario: User should be able to search for a team Scenario: User should be able to search for a team
......
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