Ejemplo n.º 1
0
 public void RegisterNewCustomer()
 {
     Registration reg = new Registration(Driver);
     reg.Navigate();
     reg.SelectPreference("Man seeking a Woman", "28201");
     reg.EnterPersonelDetails(EmailAddress, "asdf1234", "Jan", "1", "1985", CustomerId);
     reg.NavigateToHome();
     MyMatch myMatch = new MyMatch(Driver);
     myMatch.AssertWelcomeMessage(CustomerId);
 }
Ejemplo n.º 2
0
 public void AddUserToFav()
 {
     Login login = new Login(Driver);
     Assert.True(login.MatchLogin(ConfigurationManager.AppSettings["login_email"], "asdf1234"));
     MyMatch myMatch = new MyMatch(Driver);
     Random r = new Random();
     string DynamicZip = "2820" + r.Next(1, 9).ToString();
     myMatch.SearchMatches("I am a MAN looking for WOMEN", "25", "35", "100", DynamicZip);
     Search mySearch = new Search(Driver);
     mySearch.AddRandomUserToFav();
     Fav myFav = new Fav(Driver);
     myFav.VerifyAddedFavCard(mySearch.SelectedUserName);
     login.SignOut();
 }