public void SetupForEverySingleTestMethod() { Driver = GetChromeDriver(); SampleAppPage = new SampleAppPage(Driver); TheTestUser = new TestUser(); TheTestUser.FirstName = "Danilo"; TheTestUser.LastName = "Kukric"; }
public void PretendTestNumber2() { SampleAppPage.GoTo(); SampleAppPage.FillOutEmergencyContactForm(EmergencyContactUser); var ultimateQAHomePage = SampleAppPage.FillOutPrimaryContactFormAndSubmit(TheTestUser); AssertPageVisibleVariation2(ultimateQAHomePage); }
public void OtherGenderTest() { SampleAppPage.GoTo(); TheTestUser.GenderType = Gender.Other; var ultimateQAHomePage = SampleAppPage.FillOutPrimaryUserFormAndSubmit(TheTestUser); AssertPageVisible(ultimateQAHomePage); }
public void Test3() { SetGenderTypes(Gender.Other, Gender.Other); SampleAppPage.GoTo(); SampleAppPage.FillOutEmergencyContactForm(EmergencyContactUser); var ultimateHomePage = SampleAppPage.FillOutFormAndSubmit(TheTestUser); AssertPageVisisble(ultimateHomePage); }
public void PretendTestNumber2() { TheTestUser.GenderType = Gender.Female; SampleAppPage.GoTo(); SampleAppPage.FillOutEmergencyContactForm(EmergencyContactUser); var ultimateHomePage = SampleAppPage.FillOutFormAndSubmit(TheTestUser); AssertPageVisisbleVariation2(ultimateHomePage); }
public void Test1() { SetGenderTypes(Gender.Female, Gender.Female); SampleAppPage.GoTo(); SampleAppPage.FillOutEmergencyContactForm(EmergencyContactUser); var ultimateQAHomePage = SampleAppPage.FillOutPrimaryContactFormAndSubmit(TheTestUser); AssertPageVisible(ultimateQAHomePage); }
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); }