public void AdminLogsOutAndLogsInAsContractor() { homePage.LogOutAsAdmin().Click(); homePage.UsernameInputField().SendKeys("IQService.contractor2"); homePage.PasswordInputField().SendKeys("87108884-1cac-4b8d-a80e-692425c5f294"); homePage.SignInButton().Click(); }
public void AdminLogsOutAndLogsInAsContractor1() { homePage.LogOutAsAdmin().Click(); homePage.UsernameInputField().SendKeys("IQService.contractor2"); homePage.PasswordInputField().SendKeys("87108884-1cac-4b8d-a80e-692425c5f294"); homePage.SignInButton().Click(); Assert.That(contrHomePage.IsCreatePageDisplayed(), Is.True, "Home page of contractor is not displayed."); }
public void GivenUserNavigatesToInvoiceValidatorWebApp2() { Driver.Navigate().GoToUrl("http://intnstest:50080"); Assert.That(homePage.IsSignInDisplayed(), Is.True, "Sign in page is not displayed."); homePage.UsernameInputField().SendKeys("IQService.contractor2"); homePage.PasswordInputField().SendKeys("87108884-1cac-4b8d-a80e-692425c5f294"); homePage.SignInButton().Click(); Assert.That(contractorProfile.IsContractorPageDisplayed(), Is.True, "My account page is not displayed."); contractorProfile.ProfileConButton().Click(); Assert.That(contractorProfile.EditContrPage(), Is.True, "Edit contractor page is not displayed."); }
public void ContractorLogsOutAdminLogsIn() { ContrClaims.LogOutButtonContractor().Click(); Assert.That(homePage.IsSignInDisplayed(), Is.True, "Sign in page is not displayed."); homePage.UsernameInputField().SendKeys("IQService.admin2"); homePage.PasswordInputField().SendKeys("87108884-1cac-4b8d-a80e-692425c5f294"); homePage.SignInButton().Click(); claim_categories2.ContractorClaimsButton().Click(); claim_categories2.ContractorClaimsListButton().Click(); Assert.That(claim_categories2.IsContractorClaimsListDisplayed(), Is.True, "Contractor claims list is not displayed."); }
public void UserClicksOnSignInButton123() { Precondition homePage2 = new Precondition(Driver); homePage2.SignInButton().Click(); }