def test(data): test_builder.open_run_configurations_modal() test_run_config_modal.select_env('foo') test_run_config_modal.select_env('bar') actions.assert_element_attribute(test_run_config_modal.environments_input, 'value', 'foo, bar, ') actions.click(test_run_config_modal.run_button) test_run_modal.wait_for_test_to_run() test_run_modal.assert_amount_of_sets(2)
def test(data): test_builder_common.add_variable_to_datatable('foo', ['1', '2']) test_builder.save_test() test_builder.open_run_configurations_modal() actions.clear_element(test_run_config_modal.browser_input) test_run_config_modal.select_browser('chrome') test_run_config_modal.select_browser('firefox') test_run_config_modal.select_env('foo') test_run_config_modal.select_env('bar') actions.click(test_run_config_modal.run_button) test_run_modal.wait_for_test_to_run() test_run_modal.assert_amount_of_sets(8)
def test(data): test_builder.open_run_configurations_modal() actions.assert_element_attribute(test_run_config_modal.browser_input, 'value', 'chrome, ') actions.clear_element(test_run_config_modal.browser_input) test_run_config_modal.select_browser('chrome') test_run_config_modal.select_browser('firefox') actions.assert_element_attribute(test_run_config_modal.browser_input, 'value', 'chrome, firefox, ') actions.click(test_run_config_modal.run_button) test_run_modal.wait_for_test_to_run() test_run_modal.assert_amount_of_sets(2)
def test(data): test_builder_common.add_csv_datasource() test_builder_common.add_variable_to_datatable('foo', ['1', '2']) actions.click(test_builder.run_button) test_run_modal.wait_for_test_to_run() test_run_modal.assert_amount_of_sets(2)