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

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

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

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

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

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

            AssertPageVisible(ultimateQAHomePage);
        }
Esempio n. 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);
        }