C# Class CarbonFitnessTest.Integration.InputFoodTest

Inheritance: IntegrationBaseTest
Afficher le fichier Open project: yodiz/CarbonFitness

Private Properties

Свойство 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

Méthodes publiques

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

Private Methods

Méthode 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 méthode

public InputFoodTest ( ) : System
Résultat System

InputFoodTest() public méthode

public InputFoodTest ( Browser browser ) : System
browser Browser
Résultat System

addUserIngredient() public méthode

public addUserIngredient ( string ingredientText, string measureText ) : void
ingredientText string
measureText string
Résultat void

changeDate() public méthode

public changeDate ( string date ) : void
date string
Résultat void

createIngredientIfNotExist() public méthode

public createIngredientIfNotExist ( string name ) : void
name string
Résultat void