def test_RegistrationSuccesful(self, Setup): user = self.GenerateRandomUser() rp = MainPage() rp.Signup(Setup, user, user + "@test.com", "1234567890") assert rp.LoggedIn(Setup)
def test_LoginSuccesful(self, Setup): mp = MainPage() mp.Login(Setup, 'repeateduser', '1234567890') assert mp.LoggedIn(Setup)
def LoggedInFirst(self, Setup): mp = MainPage() mp.Login(Setup, 'zeina3', 'Password1') assert mp.LoggedIn(Setup)