def before_all(context): benv.before_all(context) context.browser = choose_driver() if LOCAL: context.mist_url = "http://localhost:8000" else: docker_info = docker_all_in_one(flavor="io") context.remote_info = docker_info context.mist_url = docker_info['URL'] context.credentials = CREDENTIALS context.machine_name = "TESTMACHINE" + str(random.randint(1, 10000)) context.key_name = "TESTKEY" + str(random.randint(1, 10000))
def before_all(context): context.browser = choose_driver() context.mist_config = dict() context.mist_config['MACHINE_NAME'] = "TESTMACHINE" + str(random.randint(1, 10000)) context.mist_config['KEY_NAME'] = "TESTKEY" + str(random.randint(1, 10000)) context.mist_config['CREDENTIALS'] = CREDENTIALS # if not LOCAL: # docker_info = docker_all_in_one(flavor="io") # context.remote_info = docker_info context.mist_config['MIST_URL'] = MIST_URL
def before_all(context): context.browser = choose_driver() context.mist_config = dict() context.mist_config['MACHINE_NAME'] = "TESTMACHINE" + str( random.randint(1, 10000)) context.mist_config['KEY_NAME'] = "TESTKEY" + str(random.randint(1, 10000)) context.mist_config['CREDENTIALS'] = CREDENTIALS # if not LOCAL: # docker_info = docker_all_in_one(flavor="io") # context.remote_info = docker_info context.mist_config['MIST_URL'] = MIST_URL
def before_all(context): context.mist_config = dict() context.mist_config['browser'] = choose_driver() context.browser = context.mist_config['browser'] context.mist_config['ERROR_NUM'] = 0 context.mist_config['MIST_URL'] = config.MIST_URL context.mist_config['CREDENTIALS'] = config.CREDENTIALS context.mist_config['NON_STOP'] = '--stop' not in sys.argv context.mist_config['JS_CONSOLE_LOG'] = config.JS_CONSOLE_LOG context.mist_config['BROWSER_FLAVOR'] = config.BROWSER_FLAVOR context.mist_config['SCREENSHOT_PATH'] = config.SCREENSHOT_PATH context.mist_config['KEY_NAME'] = "TESTKEY" + str(random.randint(1, 10000)) context.mist_config['MACHINE_NAME'] = "TESTMACHINE" + str(random.randint(1, 10000))
def before_all(context): context.mist_config = dict() context.mist_config['browser'] = choose_driver() context.browser = context.mist_config['browser'] context.mist_config['ERROR_NUM'] = 0 context.mist_config['MIST_URL'] = config.MIST_URL context.mist_config['CREDENTIALS'] = config.CREDENTIALS context.mist_config['NON_STOP'] = '--stop' not in sys.argv context.mist_config['JS_CONSOLE_LOG'] = config.JS_CONSOLE_LOG context.mist_config['BROWSER_FLAVOR'] = config.BROWSER_FLAVOR context.mist_config['SCREENSHOT_PATH'] = config.SCREENSHOT_PATH context.mist_config['KEY_NAME'] = "TESTKEY" + str(random.randint(1, 10000)) context.mist_config['MACHINE_NAME'] = "TESTMACHINE" + str( random.randint(1, 10000))