Ejemplo n.º 1
0
 public void UserNavigatesOnCreateContractorPageTest()
 {
     Assert.That(homePage.IsSignInDisplayed(), Is.True, "Sign in page is not displayed.");
     homePage.LoginAsAdmin();
     Assert.That(homePage.IsAdminsHeaderDisplayed(), Is.True, "Admin's home page is not displayed.");
     adminContraCreate.ContractorsButton().Click();
     adminContraCreate.ContractorsCreateButton().Click();
     Assert.That(adminContraCreate.IsCreateFromListDisplayed(), Is.True, "Create page is not displayed.");
 }
Ejemplo n.º 2
0
 public void GivenUserNavigatesToInvoiceValidatorWebApp()
 {
     Assert.That(homePage.IsSignInDisplayed(), Is.True, "Sign in page is not displayed.");
     homePage.LoginAsAdmin();
     Assert.That(AdminhomePage.IsAdminPageDisplayed(), Is.True, "My account page is not displayed.");
     AdminhomePage.ClaimCategoriesButton().Click();
     AdminhomePage.ClaimCategoriesCreateButton().Click();
 }
 public void GivenUserNavigatesToInvoiceValidatorWebApp()
 {
     Assert.That(homePage.IsSignInDisplayed(), Is.True, "Sign in page is not displayed.");
     homePage.LoginAsAdmin();
     AdminAccountingPeriods.AccPeriodsButton().Click();
     AdminAccountingPeriods.AccPeriodsCreateButton().Click();
     Assert.That(AdminAccountingPeriods.IsCreateAccPeriodDisplayed(), Is.True, "Create accounting period is not displayed.");
 }
Ejemplo n.º 4
0
 public void UserLogsInAsAdmin()
 {
     Assert.That(homePage.IsSignInDisplayed(), Is.True, "Sign in page is not displayed.");
     homePage.LoginAsAdmin();
 }