Example #1
0
 def test_os_section(self, mozwebqa):
     partners_page = Partners(mozwebqa)
     partners_page.go_to_page()
     partners_page.click_os_menu()
     partners_page.click_operators_button()
     bad_images = []
     for image in partners_page._operators_image_list:
         if not partners_page.is_element_visible(*image.get('locator')):
             bad_images.append('The image at %s is not visible' % image.get('locator')[1:])
     Assert.equal(0, len(bad_images), '%s bad images found: ' % len(bad_images) + ', '.join(bad_images))
Example #2
0
 def test_os_section(self, mozwebqa):
     partners_page = Partners(mozwebqa)
     partners_page.go_to_page()
     partners_page.click_os_menu()
     partners_page.click_operators_button()
     bad_images = []
     for image in partners_page._operators_image_list:
         if not partners_page.is_element_visible(*image.get('locator')):
             bad_images.append('The image at %s is not visible' %
                               image.get('locator')[1:])
     Assert.equal(
         0, len(bad_images),
         '%s bad images found: ' % len(bad_images) + ', '.join(bad_images))
    def test_os_section(self, mozwebqa):
        partners_page = Partners(mozwebqa)
        partners_page.go_to_page()
        partners_page.click_os_menu()
        partners_page.selenium.maximize_window()
        partners_page.click_os_menu()
        partners_page.click_operators_button()
        partners_page.click_operators_button()
        partners_page.click_operators_button()
        partners_page.click_operators_button()

        bad_images = []
        for image in partners_page._operators_image_list:
            if not partners_page.is_element_visible(*image.get("locator")):
                bad_images.append("The image at %s is not visible" % image.get("locator")[1:])
        Assert.equal(0, len(bad_images), "%s bad images found: " % len(bad_images) + ", ".join(bad_images))
 def test_os_section(self, base_url, selenium):
     page = Partners(base_url, selenium).open()
     page.click_os_menu()
     page.click_operators_button()
Example #5
0
 def test_os_section(self, mozwebqa):
     partners_page = Partners(mozwebqa)
     partners_page.go_to_page()
     partners_page.click_os_menu()
     partners_page.click_operators_button()
Example #6
0
 def test_os_section(self, mozwebqa):
     partners_page = Partners(mozwebqa)
     partners_page.go_to_page()
     partners_page.click_os_menu()
     partners_page.click_operators_button()
Example #7
0
 def test_os_section(self, base_url, selenium):
     page = Partners(base_url, selenium).open()
     page.click_os_menu()
     page.click_operators_button()