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