public void Check_Share_Organization_Email_Input_Filter() { OrganizationsPage.OpenFirstOrganization(); VerifyThat.IsFalse(OrganizationViewPage.IsOrganizationShareableTo(DummyData.NonsenseValue), "Email field input does not follows email syntaxt but, it was accepted by the filter."); VerifyThat.IsFalse(OrganizationViewPage.IsOrganizationShareableTo("[email protected]"), "Email field input does not follows email syntaxt but, it was accepted by the filter."); VerifyThat.IsFalse(OrganizationViewPage.IsOrganizationShareableTo(DummyData.SimpleWord), "Email field input does not follows email syntaxt but, it was accepted by the filter."); }
public void Check_Organization_Is_Shareable_With_Valid_Email() { OrganizationsPage.OpenFirstOrganization(); AssertThat.IsTrue(OrganizationViewPage.IsOrganizationShareableTo(DummyData.EmailValue), "Though email inserted is of valid syntax, Share button is not enabled."); }