public void AddCategory() { //Arange var application = new AddCategoryPage(this.Driver); var appLogin = new LoginPage(this.Driver); //Act appLogin .Login(ConfigurationManager.AppSettings["user"], ConfigurationManager.AppSettings["password"]); application .AddCategory(); //Assert application.CategoryListItem.Text.Should().Be("Food"); }
public void WhenIEnterTheCategoryDetails(Table table) { AddCategoryPage.EnterDetails(); }
public void WhenClickOnAddNewCategoryButton() { AddCategoryPage.ClickOnCreateCategoryButton(); }
public void ThenIShouldSeeTheCreateNewCategoryForm() { AddCategoryPage.VerifyCreateNewCategoryForm(); }
public void WhenIClickTheAddCategoryButton() { AddCategoryPage.ClickOnAddNewCategory(); }
public void ThenIShouldSeeAddCategoryButtonPresent() { AddCategoryPage.VerifyAddNewCategoryButton(); }
public void WhenIClickOnTicketCategories() { AddCategoryPage.ClickOnTicketCategories(); }
public void GivenIAmOnHelpdeskPage() { LoginPage.Login(); AddCategoryPage.VerifyHelpdeskPage(); }