Ejemplo n.º 1
0
    def test_filter_results_by_name(self, mozwebqa):
        # Verify name in search matches query results
        query = u'Reps'
        people_page = People(mozwebqa)
        people_page.go_to_people_page()
        people_page.filter_for(query)
        Assert.equal(u'Reps', people_page.people_name_text)

        # Check profile to verify search results where search does not match name
        query = u'moz_reps_user'
        people_page.go_to_people_page()
        people_page.filter_for(query)
        profile_page = people_page.click_to_open_profile()
        Assert.contains(query, profile_page.profile_text)
Ejemplo n.º 2
0
 def test_people_map_is_visible(self, mozwebqa):
     people_page = People(mozwebqa)
     people_page.go_to_people_page()
     Assert.true(people_page.is_people_map_visible)
Ejemplo n.º 3
0
 def test_profile_grid_is_visible(self, mozwebqa):
     people_page = People(mozwebqa)
     people_page.go_to_people_page()
     Assert.true(people_page.is_profile_grid_visible)
     Assert.true(people_page.is_profile_name_visible)
     Assert.true(people_page.is_profile_image_visible)
Ejemplo n.º 4
0
 def test_profile_list_view(self, mozwebqa):
     people_page = People(mozwebqa)
     people_page.go_to_people_page()
     people_page.click_list_view()
     Assert.true(people_page.is_profile_list_visible)