Exemple #1
0
        public StepsBase(FeatureContext featureContext)
        {
            app = featureContext.Get <IApp>("App");

            shoppingListScreen = featureContext.Get <IShoppingListScreen>(ScreenNames.ShoppingList);
            shoppingItemScreen = featureContext.Get <IShoppingItemScreen>(ScreenNames.ShoppingItem);
        }
Exemple #2
0
        public CommonSteps()
        {
            app = FeatureContext.Current.Get <IApp>("App");

            shoppingListScreen = FeatureContext.Current.Get <IShoppingListScreen>(ScreenNames.ShoppingList);
            shoppingItemScreen = FeatureContext.Current.Get <IShoppingItemScreen>(ScreenNames.ShoppingItem);
        }