Ejemplo n.º 1
0
 public void Contact_Address_Links_Navigate_To_Google_Maps()
 {
     ContactCreator.CreateContactWithAllValues();
     VerifyThat.IsTrue(ContactViewPage.IsHomeAddressLinkActive, "Work address link does not navigate to google maps");
     VerifyThat.IsTrue(ContactViewPage.IsOtherAddressLinkActive, "Work address link does not navigate to google maps");
     VerifyThat.IsTrue(ContactViewPage.IsWorkAddressLinkActive, "Work address link does not navigate to google maps");
 }
Ejemplo n.º 2
0
 public void Contact_Emails_Are_Emailable()
 {
     ContactCreator.CreateContactWithAllValues();
     VerifyThat.IsTrue(ContactViewPage.IsWorkEmailEmailable, "Work email link is not active but it should");
     VerifyThat.IsTrue(ContactViewPage.IsPersonalEmailEmailable, "Personal email link is not active but it should");
     VerifyThat.IsTrue(ContactViewPage.IsOtherEmailEmailable, "Other email link is not active but it should");
 }
Ejemplo n.º 3
0
 public void Edit_Every_Contact_Field_From_Existing_Contact()
 {
     ContactCreator.CreateContactWithAllValues();
     ContactCreator.EditContactAlteringAllValues(ContactCreator.FirstContact);
     AssertThat.IsTrue(ContactCreator.FirstContact.IsContactSavedAfterEdit, "Contact was not saved after edit but, it should.");
     AssertThat.IsTrue(ContactCreator.FirstContact.AreContactFieldValuesSavedCorrectly, "Contact fields have not the expected values after the edit.");
 }
Ejemplo n.º 4
0
 public void Create_Contact_With_All_Fields_Filled()
 {
     ContactCreator.CreateContactWithAllValues();
     AssertThat.IsTrue(ContactCreator.FirstContact.IsContactCreatedSuccessfully,
                       "Contact was not saved successfully but it should.");
     AssertThat.IsTrue(ContactCreator.FirstContact.AreContactFieldValuesSavedCorrectly,
                       "Contact field values were not saved correctly");
 }
Ejemplo n.º 5
0
 public void Contact_Telephone_Numbers_Are_Callable()
 {
     ContactCreator.CreateContactWithAllValues();
     VerifyThat.IsTrue(ContactViewPage.IsMobilePhoneCallable, "Contact mobile phone is not callable but it should");
     VerifyThat.IsTrue(ContactViewPage.IsMobilePhone2Callable, "Contact mobile phone 2 is not callable but it should");
     VerifyThat.IsTrue(ContactViewPage.IsWorkPhoneCallable, "Contact work phone is not callable but it should");
     VerifyThat.IsTrue(ContactViewPage.IsWorkPhone2Callable, "Contact work phone 2 is not callable but it should");
     VerifyThat.IsTrue(ContactViewPage.IsHomePhoneCallable, "Contact home phone is not callable but it should");
     VerifyThat.IsTrue(ContactViewPage.IsHomePhone2Callable, "Contact home phone is not callable but it should");
     VerifyThat.IsTrue(ContactViewPage.IsOtherPhoneCallable, "Contact other phone is not callable but it should");
 }