C# Class CarbonFitnessTest.Integration.InputFoodTest

Inheritance: IntegrationBaseTest
Show file Open project: yodiz/CarbonFitness

Private Properties

Property Type Description
TestFixtureSetUp void
getUniqueIngredientAndAddUserIngredient void
reloadPage void
shouldAutoCompleteWhenLookingForIngredients void
shouldBeAbleToChangeDateWithoutNoIngredientFoundMessageAppears void
shouldEmptyFoodInputAfterSubmit void
shouldGoToResultsAfterClickingResults void
shouldHaveImportedIngredientsInDB void
shouldRemoveUserIngredient void
shouldShowDailySumWithRDIElementsInTable void
shouldShowDateSelectorOnPage void
shouldShowIngredientsForCurrentUser void
shouldShowIngredientsForDateOnPage void
shouldShowNiceErrorMsgWhenInvalidDateEntered void
shouldShowNiceErrorMsgWhenNoIngredientFound void
shouldShowTodaysDateInDateSelector void
shouldShowViewAfterNewFoodInput void

Public Methods

Method Description
InputFoodTest ( ) : System
InputFoodTest ( Browser browser ) : System
addUserIngredient ( string ingredientText, string measureText ) : void
changeDate ( string date ) : void
createIngredientIfNotExist ( string name ) : void

Private Methods

Method Description
TestFixtureSetUp ( ) : void
getUniqueIngredientAndAddUserIngredient ( string ingredientText, string measureText ) : void
reloadPage ( ) : void
shouldAutoCompleteWhenLookingForIngredients ( ) : void
shouldBeAbleToChangeDateWithoutNoIngredientFoundMessageAppears ( ) : void
shouldEmptyFoodInputAfterSubmit ( ) : void
shouldGoToResultsAfterClickingResults ( ) : void
shouldHaveImportedIngredientsInDB ( ) : void
shouldRemoveUserIngredient ( ) : void
shouldShowDailySumWithRDIElementsInTable ( ) : void
shouldShowDateSelectorOnPage ( ) : void
shouldShowIngredientsForCurrentUser ( ) : void
shouldShowIngredientsForDateOnPage ( ) : void
shouldShowNiceErrorMsgWhenInvalidDateEntered ( ) : void
shouldShowNiceErrorMsgWhenNoIngredientFound ( ) : void
shouldShowTodaysDateInDateSelector ( ) : void
shouldShowViewAfterNewFoodInput ( ) : void

Method Details

InputFoodTest() public method

public InputFoodTest ( ) : System
return System

InputFoodTest() public method

public InputFoodTest ( Browser browser ) : System
browser Browser
return System

addUserIngredient() public method

public addUserIngredient ( string ingredientText, string measureText ) : void
ingredientText string
measureText string
return void

changeDate() public method

public changeDate ( string date ) : void
date string
return void

createIngredientIfNotExist() public method

public createIngredientIfNotExist ( string name ) : void
name string
return void