def test_switching_tabs_list_display(self, mozwebqa):
     spaces_page = Spaces(mozwebqa)
     spaces_page.go_to_page()
     communities_page = spaces_page.click_communities_tab()
     spaces_page.wait_until_element_visible(communities_page.region_list)
     assert communities_page.region_list.is_displayed(), 'List of regions not displayed on communities tab.'
     spaces_page = communities_page.click_spaces_tab()
     spaces_page.wait_until_element_visible(spaces_page.spaces_list)
     assert spaces_page.spaces_list.is_displayed(), 'List of spaces not displayed on spaces tab.'
Beispiel #2
0
 def test_switching_tabs_list_display(self, mozwebqa):
     spaces_page = Spaces(mozwebqa)
     spaces_page.go_to_page()
     communities_page = spaces_page.click_communities_tab()
     spaces_page.wait_until_element_visible(communities_page.region_list)
     assert communities_page.region_list.is_displayed(
     ), 'List of regions not displayed on communities tab.'
     spaces_page = communities_page.click_spaces_tab()
     spaces_page.wait_until_element_visible(spaces_page.spaces_list)
     assert spaces_page.spaces_list.is_displayed(
     ), 'List of spaces not displayed on spaces tab.'
 def test_spaces_map_marker_visibility(self, mozwebqa):
     spaces_page = Spaces(mozwebqa)
     spaces_page.go_to_page()
     print len(spaces_page.spaces_markers)
     bad_markers = []
     for index, space in enumerate(spaces_page.spaces_links):
         space.click()
         spaces_page.wait_until_element_visible(spaces_page.spaces_markers[index])
         if not spaces_page.spaces_markers[index].is_displayed():
             bad_markers.append('%s marker is not visible.' % space.text)
     assert [] == bad_markers
Beispiel #4
0
 def test_spaces_map_marker_visibility(self, mozwebqa):
     spaces_page = Spaces(mozwebqa)
     spaces_page.go_to_page()
     print len(spaces_page.spaces_markers)
     bad_markers = []
     for index, space in enumerate(spaces_page.spaces_links):
         space.click()
         spaces_page.wait_until_element_visible(
             spaces_page.spaces_markers[index])
         if not spaces_page.spaces_markers[index].is_displayed():
             bad_markers.append('%s marker is not visible.' % space.text)
     assert [] == bad_markers
Beispiel #5
0
 def test_spaces_links_are_correct(self, mozwebqa):
     spaces_page = Spaces(mozwebqa)
     spaces_page.go_to_page()
     self.check_bad_links(spaces_page, spaces_page.spaces_nav_links_list)
Beispiel #6
0
 def test_spaces_links_are_correct(self, mozwebqa):
     spaces_page = Spaces(mozwebqa)
     spaces_page.go_to_page()
     self.check_bad_links(spaces_page, spaces_page.spaces_nav_links_list)