Exemple #1
0
 public void Contact_Emails_Are_Emailable()
 {
     LeftSideMenu.GoToCoworkers();
     CoworkersPage.OpenFirstCoworker();
     VerifyThat.IsTrue(CoworkerViewPage.IsWorkEmailEmailable, "Work email link is not active but it should");
     VerifyThat.IsTrue(CoworkerViewPage.IsPersonalEmailEmailable, "Personal email link is not active but it should");
 }
Exemple #2
0
 public void Check_Share_Coworker_Email_Input_Filter()
 {
     CoworkersPage.OpenFirstCoworker();
     VerifyThat.IsFalse(CoworkerViewPage.IsCoworkerShareableTo(DummyData.NonsenseValue), "Email field input does not follows email syntaxt but, it was accepted by the filter.");
     VerifyThat.IsFalse(CoworkerViewPage.IsCoworkerShareableTo("[email protected]"), "Email field input does not follows email syntaxt but, it was accepted by the filter.");
     VerifyThat.IsFalse(CoworkerViewPage.IsCoworkerShareableTo(DummyData.SimpleWord), "Email field input does not follows email syntaxt but, it was accepted by the filter.");
 }
Exemple #3
0
 public void Coworker_Telephone_Numbers_Are_Callable()
 {
     CoworkersPage.OpenFirstCoworker();
     VerifyThat.IsTrue(CoworkerViewPage.IsWorkPhoneCallable, "Coworker work phone is not callable but it should");
     VerifyThat.IsTrue(CoworkerViewPage.IsWorkPhone2Callable, "Coworker work phone 2 is not callable but it should");
     VerifyThat.IsTrue(CoworkerViewPage.IsHomePhoneCallable, "Coworker home phone is not callable but it should");
     VerifyThat.IsTrue(CoworkerViewPage.IsMobilePhoneCallable, "Coworker mobile phone is not callable but it should");
 }
Exemple #4
0
        public void Assert_That_Page_Paths_Are_Correct()
        {
            LeftSideMenu.GoToCoworkers();

            VerifyThat.IsTrue(CoworkersPage.IsAt, "Coworker page path is not the expected one");

            CoworkersPage.OpenFirstCoworker();
            VerifyThat.IsTrue(CoworkerViewPage.IsAt, "Contact view page path is not the expected one");
        }
Exemple #5
0
 public void Check_Contact_Is_Shareable_With_Valid_Email()
 {
     CoworkersPage.OpenFirstCoworker();
     AssertThat.IsTrue(CoworkerViewPage.IsCoworkerShareableTo(DummyData.EmailValue), "Though email inserted is of valid syntax, Share button is not enabled.");
 }