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')
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')
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')