Exemple #1
0
 public void Cannot_Assign_Invalid_Organization_After_Edit()
 {
     ContactCreator.CreateSimpleContact();
     ContactCreator.EditContactAssigningInvalidOrganization(ContactCreator.FirstContact);
     AssertThat.IsTrue(ContactCreator.FirstContact.IsContactSavedAfterEdit, "Contact was not saved after edit but, it should.");
     AssertThat.AreEqual(ContactViewPage.OrganizationName, "", $"Organization ought to be null but it has value = '{ContactViewPage.OrganizationName}' which is invalid. Defect spotted!");
 }