def test_load_baseurl_and_assert_header(self, mozwebqa):
     '''
     Demo Test - Verify Header is correct on Amo Page
     '''
     home_page = MySiteHomePage(mozwebqa)
     home_page.go_to_home_page()
     Assert.equal(home_page.header_text, 'We are')
Ejemplo n.º 2
0
 def test_load_baseurl_and_assert_header(self, mozwebqa):
     '''
     Demo Test - Verify Header is correct on Amo Page
     '''
     home_page = MySiteHomePage(mozwebqa)
     home_page.go_to_home_page()
     Assert.equal(home_page.header_text, 'We are')
Ejemplo n.º 3
0
 def test_load_baseurl_and_assert_header(self, mozwebqa):
     """
     Demo Test - Verify Header is correct on Amo Page
     """
     home_page = MySiteHomePage(mozwebqa)
     home_page.go_to_home_page()
     Assert.equal(home_page.header_text, "mozilla")
 def test_load_baseurl_nondestructive(self, mozwebqa):
     '''
     This test is nondestructive - it does not write
     to the database or leave a mark on the website
     '''
     home_page = MySiteHomePage(mozwebqa)
     home_page.go_to_home_page()
     Assert.true(home_page.is_the_current_page)
Ejemplo n.º 5
0
 def test_load_baseurl_xfail(self, mozwebqa):
     '''
     This test will fail but we have marked it with XFail
     The test result will be XFail
     '''
     home_page = MySiteHomePage(mozwebqa)
     home_page.go_to_home_page()
     Assert.equal(home_page.header_text, 'BlaBla')
 def test_load_baseurl_xfail(self, mozwebqa):
     '''
     This test will fail but we have marked it with XFail
     The test result will be XFail
     '''
     home_page = MySiteHomePage(mozwebqa)
     home_page.go_to_home_page()
     Assert.equal(home_page.header_text, 'BlaBla')
 def test_load_baseurl_nondestructive(self, mozwebqa):
     """
     This test is nondestructive - it does not write
     to the database or leave a mark on the website
     """
     home_page = MySiteHomePage(mozwebqa)
     home_page.go_to_home_page()
     Assert.true(home_page.is_the_current_page)