def before_scenario(context, scenario): benv.before_scenario(context, scenario) context.personas = PERSONAS context.execute_steps(u''' Given a browser And "John" as the persona ''')
def before_scenario(context, scenario): benv.before_scenario(context, scenario) context.personas = PERSONAS # context.tips = TIPS Communal code for posting tips context.execute_steps(u''' Given a browser ''')
def before_scenario(context, scenario): context.default_browser = "phantomjs" benv.before_scenario(context, scenario) context.personas = { 'Frank' : dict( fullname = "Frank", email = "*****@*****.**", password = "******", username = "******" ), 'Mary' : dict( fullname = "Mary", email = "*****@*****.**", password = "******", username = "******" ) } context.step_counter = 0
def before_scenario(context, scenario): benv.before_scenario(context, scenario) context.personas = PERSONAS
def before_scenario(context, scenario): benv.before_scenario(context, scenario) # Always use remote browser. named_browser(context, 'remote') # Set personas. context.personas = PERSONAS
def before_scenario(context, scenario): if 'persist_browser' not in scenario.tags: benv.before_scenario(context, scenario)
def before_scenario(context, scenario): behaving_env.before_scenario(context, scenario) context.cleanup_tasks = []
def before_scenario(context, scenario): benv.before_scenario(context, scenario)
def before_scenario(context, scenario): benv.before_scenario(context, scenario) context.personas = ensure_personas()
def before_scenario(context, scenario): benv.before_scenario(context, scenario) pickle_file = "src/mist/io/tests/features/persona.pickle" PERSONAS = pickle.load(open(pickle_file, "rb")) context.personas = PERSONAS
def before_scenario(context, scenario): behaving_env.before_scenario(context, scenario)
def before_scenario(context, scenario): benv.before_scenario(context, scenario) context.personas = PERSONAS context.execute_steps(u''' Given a browser ''')