예제 #1
0
    def test_login(self, mozwebqa, variables):
        user = variables['users']['default']
        home_page = PageProvider(mozwebqa).home_page()
        home_page.sign_in(user['username'], user['password'])

        Assert.true(home_page.header.is_user_logged_in,
                    'User not shown to be logged in')
예제 #2
0
    def test_login(self, mozwebqa):
        home_page = PageProvider(mozwebqa).home_page()
        home_page.sign_in('default')

        Assert.true(home_page.header.is_user_logged_in, 'User not shown to be logged in')
예제 #3
0
    def test_login(self, mozwebqa):
        home_page = PageProvider(mozwebqa).home_page()
        home_page.sign_in(user='******')

        Assert.true(home_page.header.is_user_logged_in, 'User not shown to be logged in')
예제 #4
0
    def test_login(self, mozwebqa, variables):
        user = variables['users']['default']
        home_page = PageProvider(mozwebqa).home_page()
        home_page.sign_in(user['username'], user['password'])

        Assert.true(home_page.header.is_user_logged_in, 'User not shown to be logged in')