Example #1
0
 public void SetupForEverySingleTestMethod()
 {
     Driver                = GetChromeDriver();
     SampleAppPage         = new SampleAppPage(Driver);
     TheTestUser           = new TestUser();
     TheTestUser.FirstName = "Danilo";
     TheTestUser.LastName  = "Kukric";
 }
Example #2
0
        public void PretendTestNumber2()
        {
            SampleAppPage.GoTo();
            SampleAppPage.FillOutEmergencyContactForm(EmergencyContactUser);
            var ultimateQAHomePage = SampleAppPage.FillOutPrimaryContactFormAndSubmit(TheTestUser);

            AssertPageVisibleVariation2(ultimateQAHomePage);
        }
Example #3
0
        public void OtherGenderTest()
        {
            SampleAppPage.GoTo();
            TheTestUser.GenderType = Gender.Other;
            var ultimateQAHomePage = SampleAppPage.FillOutPrimaryUserFormAndSubmit(TheTestUser);

            AssertPageVisible(ultimateQAHomePage);
        }
Example #4
0
        public void Test3()
        {
            SetGenderTypes(Gender.Other, Gender.Other);
            SampleAppPage.GoTo();
            SampleAppPage.FillOutEmergencyContactForm(EmergencyContactUser);
            var ultimateHomePage = SampleAppPage.FillOutFormAndSubmit(TheTestUser);

            AssertPageVisisble(ultimateHomePage);
        }
Example #5
0
        public void PretendTestNumber2()
        {
            TheTestUser.GenderType = Gender.Female;
            SampleAppPage.GoTo();
            SampleAppPage.FillOutEmergencyContactForm(EmergencyContactUser);
            var ultimateHomePage = SampleAppPage.FillOutFormAndSubmit(TheTestUser);

            AssertPageVisisbleVariation2(ultimateHomePage);
        }
Example #6
0
        public void Test1()
        {
            SetGenderTypes(Gender.Female, Gender.Female);

            SampleAppPage.GoTo();
            SampleAppPage.FillOutEmergencyContactForm(EmergencyContactUser);
            var ultimateQAHomePage = SampleAppPage.FillOutPrimaryContactFormAndSubmit(TheTestUser);

            AssertPageVisible(ultimateQAHomePage);
        }
Example #7
0
        public void Test1()
        {
            SampleAppPage.GoTo(); // has an assertion in the goto method
            TheTestUser.GenderType = Gender.Female;
            //    EmergencyTestUser.GenderType = Gender.Female;
            //     SampleAppPage.FillOutEmergencyContactForm(EmergencyTestUser);
            var ultimateQAHomePage = SampleAppPage.FillOutPrimaryUserFormAndSubmit(TheTestUser);

            AssertPageVisible(ultimateQAHomePage);
        }