Exemple #1
0
 def test_smoke_testcase1(self,admin,adminpass,email,nickname,password,firstName,surname,company,capacity,dateofbirth,phone,mobile,address,zipcode,town,country,how_do_you_know_our_website, confirm):
     self.assertIn(confirm,RegistrationPage.Register_with_valid_input(self,email,nickname,password,firstName,surname,company,capacity,dateofbirth,phone,mobile,address,zipcode,town,country,how_do_you_know_our_website))
     self.assertTrue(email,RegistrationPage.verify_user_at_DB(self,nickname))
     self.assertIn(email,ManageUserPage.edit_user(self,admin,adminpass,email))
     LoginLogoutPage.logout(self)
     self.assertEqual(email,LoginLogoutPage.login_with_valid_credentials(self,nickname,password))
 def test_OpenAccount(self,admin,adminpass,email,nickname,password,firstName,surname,company,capacity,dateofbirth,phone,mobile,address,zipcode,town,country,how_do_you_know_our_website, confirm):
     self.assertIn(confirm,RegistrationPage.Register_with_valid_input(self,email,nickname,password,firstName,surname,company,capacity,dateofbirth,phone,mobile,address,zipcode,town,country,how_do_you_know_our_website))
     self.assertTrue(email,RegistrationPage.verify_user_at_DB(self,nickname))
     self.assertIn(email,ManageUserPage.edit_user(self,admin,adminpass,email))