def setup(data): common.access_golem(data.env.url, data.env.admin) index.create_access_project('project_two_envs') actions.navigate(urls.environments('project_two_envs')) environments.set_value('{"foo": {}, "bar": {}}') actions.click(environments.save_button) api.test.create_access_random_test('project_two_envs')
def setup(data): common.access_golem(data.env.url, data.env.admin) api.project.using_project('test_list') common.navigate_menu('Tests') data.folder = actions.random_str() test_list.add_folder(data.folder) actions.refresh_page()
def setup(data): common.access_golem(data.env.url, data.env.admin) api.project.create_access_random_project() common.navigate_menu('Project Settings') settings.set_settings_value('{"remote_browsers": {"browser001": {}}}') actions.click(settings.save_button) api.suite.create_access_suite(data.project)
def setup(data): common.access_golem(data.env.url, data.env.admin) api.project.create_access_random_project() common.navigate_menu('Tests') actions.store('folder', actions.random_str()) test_list.add_folder(data.folder) actions.refresh_page()
def setup(data): common.access_golem(data.env.url, data.env.admin) index.create_access_project('run_suite') api.test.create_test('run_suite', 'test_one') api.test.create_test('run_suite', 'test_two') actions.store('suite_name', actions.random_str()) api.suite.create_access_suite('run_suite', data.suite_name)
def setup(data): data.username1 = actions.random_str() data.username2 = actions.random_str() utils.create_user(data.username1, '123456') utils.create_user(data.username2, '123456') common.access_golem(data.env.url, data.env.admin) common.navigate_menu('Users') users.wait_for_table_to_load()
def setup(data): common.access_golem(data.env.url, data.env.admin) api.project.using_project('report_execution') # data.test_name = 'simple_test' # utils.create_access_simple_suite('simple_suite01', data.test_name) data.success_test = utils.create_success_test(data.project) data.suite = api.suite.create_access_suite(data.project, tests=[data.success_test])
def setup(data): common.access_golem(data.env.url, data.env.admin) api.project.create_access_random_project() common.navigate_menu('Tests') actions.store('folder_one', 'foo') test_list.add_folder(data.folder_one) actions.store('folder_two', 'bar.baz') test_list.add_folder(data.folder_two) actions.refresh_page()
def setup(data): common.access_golem(data.env.url, data.env.admin) api.project.using_project('report_execution') data.success_test = utils.create_success_test(data.project) data.error_test = utils.create_error_test(data.project) data.failing_test = utils.create_failing_test(data.project) # create suite with previous tests data.suite = api.suite.create_access_suite( data.project, tests=[data.success_test, data.error_test, data.failing_test])
def setup(data): common.access_golem(data.env.url, data.env.admin) api.project.using_project('test_list') common.navigate_menu('Tests') data.folder_one = 'foo' test_list.add_folder(data.folder_one) data.folder_two = 'bar' data.folder_three = actions.random_str() data.folder_two_full = '{}.{}'.format(data.folder_two, data.folder_three) test_list.add_folder(data.folder_two_full) actions.refresh_page()
def setup(data): common.access_golem(data.env.url, data.env.admin) api.project.create_access_random_project() api.test.create_access_test(data.project)
def setup(data): common.access_golem(data.env.url, data.env.admin) api.project.using_project('test_list') data.test = api.test.create_test(data.project) common.navigate_menu('Tests')
def setup(data): common.access_golem(data.env.url, data.env.admin) api.project.create_project_if('test') api.test.create_access_random_test('test') actions.click(test_builder.code_button)
def setup(data): common.access_golem(data.env.url, data.env.admin) api.project.using_project('page_builder')
def setup(data): common.access_golem(data.env.url, data.env.admin) common.navigate_menu('Users') users.wait_for_table_to_load()
def setup(data): common.access_golem(data.env.url, data.env.admin) api.project.using_project('page_list') data.page = api.page.create_page(data.project) common.navigate_menu('Pages')
def setup(data): common.access_golem(data.env.url, data.env.admin) api.project.using_project('suite_list') common.navigate_menu('Suites')
def setup(data): common.access_golem(data.env.url, data.env.admin) create_user.navigate_to_page()
def setup(data): common.access_golem(data.env.url, data.env.admin) api.project.create_access_random_project() common.navigate_menu('Tests')
def setup(data): common.access_golem(data.env.url, data.env.admin) api.project.create_access_random_project() api.project.set_environments(data.project, {'foo': {}, 'bar': {}}) api.test.create_access_test(data.project)
def setup(data): data.user = utils.create_random_user() common.access_golem(data.env.url, data.user) common.navigate_menu('User Profile')
def setup(data): common.access_golem(data.env.url, data.env.admin) index.create_access_project('test_reports') actions.store('suite_name', 'suite00001') utils.create_access_suite_with_different_results(data.suite_name)
def setup(data): common.access_golem(data.env.url, data.env.admin) index.create_access_project('test') api.test.create_access_random_test('test')
def setup(data): common.access_golem(data.env.url, data.env.admin) api.project.using_project('suite_builder') api.suite.create_access_suite(data.project)
def setup(data): common.access_golem(data.env.url, data.env.admin) api.project.create_access_random_project() actions.store('suite', actions.random_str()) api.suite.create_suite(data.project, data.suite) common.navigate_menu('Suites')
def setup(data): common.access_golem(data.env.url, data.env.admin) api.project.create_access_random_project() actions.store('test', actions.random_str()) api.test.create_test(data.project, data.test) common.navigate_menu('Tests')
def setup(data): common.access_golem(data.env.url, data.env.admin) api.project.using_project('test_builder') api.test.create_access_test(data.project)
def setup(data): common.access_golem(data.env.url, data.env.admin) api.project.using_project('page_list') common.navigate_menu('Pages') data.folder = actions.random_str() page_list.add_folder(data.folder)
def setup(data): common.access_golem(data.env.url, data.env.admin)
def setup(data): common.access_golem(data.env.url, data.env.admin) api.project.using_project('suite_builder') data.test_one = api.test.create_test(data.project) data.test_two = api.test.create_test(data.project) data.suite_name = api.suite.create_access_suite(data.project)