Warning

This document is for an in-development version of Galaxy. You can alternatively view this page in the latest release if it exists or view the top of the latest release's documentation.

galaxy_test.selenium package

Submodules

galaxy_test.selenium.conftest module

galaxy_test.selenium.conftest.celery_includes()[source]
galaxy_test.selenium.conftest.get_timings(test_uuid)[source]
galaxy_test.selenium.conftest.pytest_configure(config)[source]
class galaxy_test.selenium.conftest.JsonReportHooks[source]

Bases: object

pytest_json_runtest_metadata(item, call)[source]
pytest_json_modifyreport(json_report)[source]

galaxy_test.selenium.framework module

Basis for Selenium test framework.

galaxy_test.selenium.framework.retry_during_transitions(f, attempts=10, sleep=0.1, exception_check=<function exception_seems_to_indicate_transition>)[source]

galaxy_test.selenium.jupyter_context module

Variant of JuypterContextImpl that can also use populators.

This provides an environment separate from test cases that can leaverage both Selenium for testing Galaxy with a browser and API populators for filling in fixture data rapidly in the target Galaxy.

class galaxy_test.selenium.jupyter_context.JupyterTestContextImpl(from_dict: Optional[dict] = None)[source]

Bases: JupyterContextImpl, GalaxyTestSeleniumContext

__init__(from_dict: Optional[dict] = None) None[source]
test_login()[source]
url: str
target_url_from_selenium: str
configured_driver: ConfiguredDriver
timeout_multiplier: float
galaxy_test.selenium.jupyter_context.init(config=None)[source]

galaxy_test.selenium.test_admin_app module

class galaxy_test.selenium.test_admin_app.AdminAppTestCase(methodName='runTest')[source]

Bases: SeleniumTestCase

requires_admin = True
test_html_allowlist()[source]
test_admin_toolshed()[source]

This tests installing a repository, checking for upgrades, and uninstalling.

A repository named a_selenium_test_repo has been created for this test, owned by devteam@galaxyproject.org. The repository contains a tool with two versions, and the oldest version gets installed so that there will be an upgrade available on the ‘Installed Only’ view. Unfortunately, since this test relies on the presence of the toolshed server, in some cases it will fail even if the galaxy code is correct, necessitating the use of the @flakey decorator.

test_admin_dependencies_display()[source]
test_admin_jobs_display()[source]
test_admin_server_display()[source]
test_admin_user_display()[source]
test_admin_data_manager()[source]
history_id: Optional[str]
host: str
port: Optional[str]
url: str
keepOutdir: str
test_data_resolver: TestDataResolver

galaxy_test.selenium.test_anon_history module

class galaxy_test.selenium.test_anon_history.AnonymousHistoriesTestCase(methodName='runTest')[source]

Bases: SeleniumTestCase

test_anon_history_landing()[source]
test_anon_history_upload()[source]
test_anon_history_after_registration()[source]
test_clean_anon_history_after_logout()[source]
history_id: Optional[str]
host: str
port: Optional[str]
url: str
keepOutdir: str
test_data_resolver: TestDataResolver

galaxy_test.selenium.test_change_password module

class galaxy_test.selenium.test_change_password.ChangePasswordTestCase(methodName='runTest')[source]

Bases: SeleniumTestCase

test_change_password()[source]
test_new_password_password()[source]
test_no_password_confirmation()[source]
test_currect_password_incorrect()[source]
test_new_password_short()[source]
test_new_password_same_password()[source]
register_and_change_password()[source]
fill_input_fields(current, password, confirm)[source]
history_id: Optional[str]
host: str
port: Optional[str]
url: str
keepOutdir: str
test_data_resolver: TestDataResolver

galaxy_test.selenium.test_collection_builders module

class galaxy_test.selenium.test_collection_builders.CollectionBuildersTestCase(methodName='runTest')[source]

Bases: SeleniumTestCase

ensure_registered = True
test_build_list_simple_hidden()[source]
test_build_list_and_show_items()[source]
test_build_pair_simple_hidden()[source]
test_build_paired_list_simple()[source]
test_build_paired_list_show_original()[source]
test_build_simple_list_via_rules_hidden()[source]
history_id: Optional[str]
host: str
port: Optional[str]
url: str
keepOutdir: str
test_data_resolver: TestDataResolver

galaxy_test.selenium.test_collection_edit module

class galaxy_test.selenium.test_collection_edit.CollectionEditTestCase(methodName='runTest')[source]

Bases: SeleniumTestCase

ensure_registered = True
test_change_dbkey_simple_list()[source]
create_simple_list_collection()[source]
open_collection_edit_view()[source]
navigate_to_database_tab()[source]
check_current_dbkey_value(dbkeyValue)[source]
change_dbkey_value_and_click_submit(dbkeyValue, dbkeyNew)[source]
history_id: Optional[str]
host: str
port: Optional[str]
url: str
keepOutdir: str
test_data_resolver: TestDataResolver

galaxy_test.selenium.test_custom_builds module

class galaxy_test.selenium.test_custom_builds.CustomBuildsTestcase(methodName='runTest')[source]

Bases: SharedStateSeleniumTestCase

test_build_add()[source]
test_build_delete()[source]
assert_custom_builds_in_grid(expected_builds, present=True)[source]
add_custom_build(build_name, build_key)[source]
delete_custom_build(build_name)[source]
get_custom_builds()[source]
navigate_to_custom_builds_page()[source]
setup_shared_state()[source]

Override this to setup shared data for tests that gets initialized only once.

history_id: Optional[str]
host: str
port: Optional[str]
url: str
keepOutdir: str
test_data_resolver: TestDataResolver

galaxy_test.selenium.test_data_source_tools module

class galaxy_test.selenium.test_data_source_tools.DataSourceTestCase(methodName='runTest')[source]

Bases: SeleniumTestCase, UsesHistoryItemAssertions

ensure_registered = True
test_ucsc_table_direct1_data_source()[source]
history_id: Optional[str]
host: str
port: Optional[str]
url: str
keepOutdir: str
test_data_resolver: TestDataResolver

galaxy_test.selenium.test_dataset_metadata_download module

class galaxy_test.selenium.test_dataset_metadata_download.HistoryDatasetStateTestCase(methodName='runTest')[source]

Bases: SeleniumTestCase, UsesHistoryItemAssertions

ensure_registered = True
test_dataset_metadata_download()[source]
history_id: Optional[str]
host: str
port: Optional[str]
url: str
keepOutdir: str
test_data_resolver: TestDataResolver

galaxy_test.selenium.test_histories_list module

class galaxy_test.selenium.test_histories_list.SavedHistoriesTestCase(methodName='runTest')[source]

Bases: SharedStateSeleniumTestCase

test_histories_list()[source]
test_history_switch()[source]
test_history_view()[source]
test_history_publish()[source]
test_rename_history()[source]
test_delete_and_undelete_history()[source]
test_permanently_delete_history()[source]
test_delete_and_undelete_multiple_histories()[source]
test_sort_by_name()[source]
test_tags()[source]
assert_grid_histories_are(expected_histories, sort_matters=True)[source]
assert_histories_in_grid(expected_histories, present=True)[source]
get_histories()[source]
set_filter(selector, value)[source]
unset_filter(filter_key, filter_value)[source]
setup_shared_state()[source]

Override this to setup shared data for tests that gets initialized only once.

create_history(name)[source]
select_filter(filter_key, filter_value)[source]
get_history_tags_cell(history_name)[source]
check_histories(histories)[source]
history_id: Optional[str]
host: str
port: Optional[str]
url: str
keepOutdir: str
test_data_resolver: TestDataResolver

galaxy_test.selenium.test_history_copy_elements module

class galaxy_test.selenium.test_history_copy_elements.HistoryCopyElementsTestCase(methodName='runTest')[source]

Bases: SeleniumTestCase

ensure_registered = True
test_copy_hdca()[source]
history_id: Optional[str]
host: str
port: Optional[str]
url: str
keepOutdir: str
test_data_resolver: TestDataResolver

galaxy_test.selenium.test_history_dataset_state module

class galaxy_test.selenium.test_history_dataset_state.HistoryDatasetStateTestCase(methodName='runTest')[source]

Bases: SeleniumTestCase, UsesHistoryItemAssertions

ensure_registered = True
test_dataset_state()[source]
test_dataset_change_dbkey()[source]
test_dataset_state_discarded()[source]
test_dataset_state_deferred()[source]
history_id: Optional[str]
host: str
port: Optional[str]
url: str
keepOutdir: str
test_data_resolver: TestDataResolver

galaxy_test.selenium.test_history_export module

class galaxy_test.selenium.test_history_export.HistoryExportTestCase(methodName='runTest')[source]

Bases: SeleniumTestCase

ensure_registered = True
test_history_export()[source]
history_id: Optional[str]
host: str
port: Optional[str]
url: str
keepOutdir: str
test_data_resolver: TestDataResolver

galaxy_test.selenium.test_history_multi_view module

class galaxy_test.selenium.test_history_multi_view.HistoryMultiViewTestCase(methodName='runTest')[source]

Bases: SeleniumTestCase

ensure_registered = True
test_display()[source]
test_list_list_display()[source]
prepare_multi_history_view(collection_populator_method)[source]
history_id: Optional[str]
host: str
port: Optional[str]
url: str
keepOutdir: str
test_data_resolver: TestDataResolver

galaxy_test.selenium.test_history_options module

class galaxy_test.selenium.test_history_options.HistoryOptionsTestCase(methodName='runTest')[source]

Bases: SeleniumTestCase

test_options()[source]
history_id: Optional[str]
host: str
port: Optional[str]
url: str
keepOutdir: str
test_data_resolver: TestDataResolver

galaxy_test.selenium.test_history_panel module

class galaxy_test.selenium.test_history_panel.HistoryPanelTestCase(methodName='runTest')[source]

Bases: SeleniumTestCase

ensure_registered = True
test_history_panel_landing_state()[source]
test_history_panel_rename()[source]
test_history_rename_cancel_with_escape()[source]
test_history_tags_and_annotations_buttons()[source]
test_history_panel_annotations_change()[source]
test_history_panel_tags_change()[source]
open_tags()[source]
clear_tags(expected_tags_size)[source]
test_refresh_preserves_state()[source]
assert_name_changed()[source]
history_id: Optional[str]
host: str
port: Optional[str]
url: str
keepOutdir: str
test_data_resolver: TestDataResolver

galaxy_test.selenium.test_history_panel_collections module

class galaxy_test.selenium.test_history_panel_collections.HistoryPanelCollectionsTestCase(methodName='runTest')[source]

Bases: SeleniumTestCase

ensure_registered = True
test_mapping_collection_states_terminal()[source]
test_mapping_collection_states_running()[source]
test_output_collection_states_terminal()[source]
test_output_collection_states_running()[source]
test_back_to_history_button()[source]
test_rename_collection()[source]
test_name_tags_display()[source]
test_paired_display()[source]
test_list_display()[source]
test_list_paired_display()[source]
test_list_list_display()[source]
history_id: Optional[str]
host: str
port: Optional[str]
url: str
keepOutdir: str
test_data_resolver: TestDataResolver

galaxy_test.selenium.test_history_panel_pagination module

galaxy_test.selenium.test_history_sharing module

class galaxy_test.selenium.test_history_sharing.HistorySharingTestCase(methodName='runTest')[source]

Bases: SeleniumTestCase

test_sharing_valid()[source]
test_sharing_valid_by_id()[source]
test_unsharing()[source]
test_unshared_history_inaccessible()[source]
test_sharing_with_invalid_user()[source]
test_sharing_with_self()[source]
setup_two_users_with_one_shared_history(share_by_id=False)[source]
share_history_with_user(user_id=None, user_email=None, assert_valid=False, screenshot=False)[source]

Share the current history with a target user by ID or email.

user_email will be used to enter in the share form unless user_id is also specified. The user_email however is always used to check the result if assert_valid is True.

history_id: Optional[str]
host: str
port: Optional[str]
url: str
keepOutdir: str
test_data_resolver: TestDataResolver
class galaxy_test.selenium.test_history_sharing.HistoryRequiresLoginSeleniumTestCase(methodName='runTest')[source]

Bases: SeleniumTestCase

ensure_registered = True
test_share_history_login_redirect()[source]
history_id: Optional[str]
host: str
port: Optional[str]
url: str
keepOutdir: str
test_data_resolver: TestDataResolver

galaxy_test.selenium.test_history_structure module

galaxy_test.selenium.test_invocation_grid module

class galaxy_test.selenium.test_invocation_grid.InvocationGridSeleniumTestCase(methodName='runTest')[source]

Bases: SeleniumTestCase, TestsGalaxyPagers

ensure_registered = True
test_grid()[source]
history_id: Optional[str]
host: str
port: Optional[str]
url: str
keepOutdir: str
test_data_resolver: TestDataResolver

galaxy_test.selenium.test_jupyter module

galaxy_test.selenium.test_library_contents module

class galaxy_test.selenium.test_library_contents.LibraryContentsTestCase(methodName='runTest')[source]

Bases: SeleniumTestCase, UsesLibraryAssertions

requires_admin = True
test_sub_folder()[source]
test_import_dataset_from_history()[source]
download_dataset_from_library()[source]
test_delete_dataset()[source]
test_import_dataset_from_path()[source]
test_import_dataset_from_import_dir()[source]
test_show_details()[source]
history_id: Optional[str]
host: str
port: Optional[str]
url: str
keepOutdir: str
test_data_resolver: TestDataResolver

galaxy_test.selenium.test_library_landing module

class galaxy_test.selenium.test_library_landing.LibraryLandingTestCase(methodName='runTest')[source]

Bases: SeleniumTestCase

requires_admin = True
setup_with_driver()[source]

Override point that allows setting up data using self.driver and Selenium connection.

Overriding this instead of setUp will ensure debug data such as screenshots and stack traces are dumped if there are problems with the setup and it will be re-ran on test retries.

test_create_new_close()[source]
test_create_new()[source]
test_rename()[source]
test_sorting()[source]
history_id: Optional[str]
host: str
port: Optional[str]
url: str
keepOutdir: str
test_data_resolver: TestDataResolver

galaxy_test.selenium.test_library_to_collections module

class galaxy_test.selenium.test_library_to_collections.LibraryToCollectionsTestCase(methodName='runTest')[source]

Bases: SeleniumTestCase, UsesLibraryAssertions

requires_admin = True
test_library_collection_export_new_history()[source]
test_library_collection_export()[source]
test_library_pair_export_new_history()[source]
test_library_pair_export()[source]
test_export_pairs_list_new_history()[source]
test_export_pairs_list()[source]
prepare_library_for_data_export(files_to_import, history_name=None)[source]
build_collection_and_assert()[source]
collection_export(is_new_history=False, collection_option=None)[source]
list_of_pairs_export(is_new_history=False)[source]
history_id: Optional[str]
host: str
port: Optional[str]
url: str
keepOutdir: str
test_data_resolver: TestDataResolver

galaxy_test.selenium.test_login module

class galaxy_test.selenium.test_login.LoginTestCase(methodName='runTest')[source]

Bases: SeleniumTestCase

test_logging_in()[source]
test_invalid_logins()[source]
test_invalid_passwords()[source]
test_wrong_password()[source]
history_id: Optional[str]
host: str
port: Optional[str]
url: str
keepOutdir: str
test_data_resolver: TestDataResolver

galaxy_test.selenium.test_navigates_galaxy module

class galaxy_test.selenium.test_navigates_galaxy.NavigatesGalaxySeleniumTestCase(methodName='runTest')[source]

Bases: SeleniumTestCase

Test the Selenium test framework itself.

Unlike the others test cases in this module, this test case tests the test framework itself (for when that makes sense, mostly corner cases).

test_click_error()[source]

Verify exception handling stuff by attempting to click on a disabled element in the UI.

history_id: Optional[str]
host: str
port: Optional[str]
url: str
keepOutdir: str
test_data_resolver: TestDataResolver

galaxy_test.selenium.test_pages module

class galaxy_test.selenium.test_pages.PagesTestCase(methodName='runTest')[source]

Bases: SeleniumTestCase

ensure_registered = True
test_simple_page_creation_edit_and_view()[source]
history_id: Optional[str]
host: str
port: Optional[str]
url: str
keepOutdir: str
test_data_resolver: TestDataResolver

galaxy_test.selenium.test_personal_information module

class galaxy_test.selenium.test_personal_information.ManageInformationTestCase(methodName='runTest')[source]

Bases: SeleniumTestCase

test_api_key()[source]

This test views and resets the API key. In automated testing scenarios, this means the initial API key will be None, which renders as ‘Not available.’

test_change_email()[source]
test_public_name()[source]
test_user_address()[source]
navigate_to_manage_information()[source]
clear_input_field_and_write(element, new_input_text)[source]
get_address_input_field(address_form, input_field_label)[source]
history_id: Optional[str]
host: str
port: Optional[str]
url: str
keepOutdir: str
test_data_resolver: TestDataResolver
class galaxy_test.selenium.test_personal_information.DeleteCurrentAccountTestCase(methodName='runTest')[source]

Bases: SeleniumTestCase

test_delete_account()[source]
history_id: Optional[str]
host: str
port: Optional[str]
url: str
keepOutdir: str
test_data_resolver: TestDataResolver

galaxy_test.selenium.test_published_histories_grid module

class galaxy_test.selenium.test_published_histories_grid.HistoryGridTestCase(methodName='runTest')[source]

Bases: SharedStateSeleniumTestCase

test_history_grid_histories()[source]
test_history_grid_search_standard()[source]
test_history_grid_search_advanced()[source]
test_history_grid_sort_by_name()[source]
test_history_grid_sort_by_owner()[source]
test_history_grid_tag_click()[source]
get_histories(sleep=False)[source]
assert_grid_histories_sorted_by_owner()[source]
assert_grid_histories_are(expected_histories, sort_matters=True)[source]
assert_histories_in_grid(expected_histories, present=True)[source]
set_filter(selector, value)[source]
unset_filter(filter_key, filter_value)[source]
setup_shared_state()[source]

Override this to setup shared data for tests that gets initialized only once.

create_history(name)[source]
publish_current_history()[source]
navigate_to_published_histories_page()[source]
history_id: Optional[str]
host: str
port: Optional[str]
url: str
keepOutdir: str
test_data_resolver: TestDataResolver

galaxy_test.selenium.test_registration module

class galaxy_test.selenium.test_registration.RegistrationTestCase(methodName='runTest')[source]

Bases: SeleniumTestCase

test_landing()[source]
test_registration()[source]
test_logout()[source]
test_reregister_email_fails()[source]
test_reregister_username_fails()[source]
test_bad_emails()[source]
test_short_password()[source]
test_password_confirmation()[source]
test_bad_usernames()[source]
history_id: Optional[str]
host: str
port: Optional[str]
url: str
keepOutdir: str
test_data_resolver: TestDataResolver

galaxy_test.selenium.test_sign_out module

class galaxy_test.selenium.test_sign_out.SignOutTestCase(methodName='runTest')[source]

Bases: SeleniumTestCase

test_sign_out()[source]
history_id: Optional[str]
host: str
port: Optional[str]
url: str
keepOutdir: str
test_data_resolver: TestDataResolver

galaxy_test.selenium.test_sizzle_loading module

class galaxy_test.selenium.test_sizzle_loading.SizzleLoadingTestCase(methodName='runTest')[source]

Bases: SeleniumTestCase

test_sizzle_loads()[source]
history_id: Optional[str]
host: str
port: Optional[str]
url: str
keepOutdir: str
test_data_resolver: TestDataResolver

galaxy_test.selenium.test_stock_tours module

class galaxy_test.selenium.test_stock_tours.TestStockToursTestCase(methodName='runTest')[source]

Bases: SeleniumTestCase

test_core_galaxy_ui()[source]
test_core_windows()[source]
test_core_history()[source]
test_core_deferred()[source]
history_id: Optional[str]
host: str
port: Optional[str]
url: str
keepOutdir: str
test_data_resolver: TestDataResolver

galaxy_test.selenium.test_tool_describing_tours module

class galaxy_test.selenium.test_tool_describing_tours.ToolDescribingToursTestCase(methodName='runTest')[source]

Bases: SeleniumTestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_generate_tour_no_data()[source]

Ensure a tour without data is generated and pops up.

test_generate_tour_with_data()[source]

Ensure a tour with data populates history.

history_id: Optional[str]
host: str
port: Optional[str]
url: str
keepOutdir: str
test_data_resolver: TestDataResolver

galaxy_test.selenium.test_tool_form module

class galaxy_test.selenium.test_tool_form.ToolFormTestCase(methodName='runTest')[source]

Bases: SeleniumTestCase, UsesHistoryItemAssertions

test_run_tool_verify_contents_by_peek()[source]
test_run_tool_verify_dataset_details()[source]
test_verify_dataset_details_tables()[source]
static click_menu_item(menu, text)[source]
test_rerun()[source]
test_run_data()[source]
test_bibtex_rendering()[source]
history_id: Optional[str]
host: str
port: Optional[str]
url: str
keepOutdir: str
test_data_resolver: TestDataResolver
class galaxy_test.selenium.test_tool_form.LoggedInToolFormTestCase(methodName='runTest')[source]

Bases: SeleniumTestCase

ensure_registered = True
test_dataset_state_filtering()[source]
test_run_apply_rules_1()[source]
test_run_apply_rules_2()[source]
test_run_apply_rules_3()[source]
test_run_apply_rules_4()[source]
test_run_apply_rules_tutorial()[source]
history_id: Optional[str]
host: str
port: Optional[str]
url: str
keepOutdir: str
test_data_resolver: TestDataResolver

galaxy_test.selenium.test_uploads module

class galaxy_test.selenium.test_uploads.UploadsTestCase(methodName='runTest')[source]

Bases: SeleniumTestCase, UsesHistoryItemAssertions

test_upload_file()[source]
test_upload_pasted_content()[source]
test_upload_pasted_url_content()[source]
test_upload_composite_dataset_pasted_data()[source]
test_upload_simplest()[source]
test_upload_specify_ext()[source]
test_upload_specify_genome()[source]
test_upload_specify_ext_all()[source]
test_upload_specify_genome_all()[source]
test_upload_deferred()[source]
test_upload_list()[source]
test_upload_pair()[source]
test_upload_pair_specify_extension()[source]
test_upload_paired_list()[source]
test_rules_example_1_datasets()[source]
test_rules_example_2_list()[source]
test_rules_example_3_list_pairs()[source]
test_rules_example_4_accessions()[source]
test_rules_example_5_matching_collections()[source]
test_rules_example_6_nested_lists()[source]
test_rules_deferred_datasets()[source]
test_rules_deferred_list()[source]
history_id: Optional[str]
host: str
port: Optional[str]
url: str
keepOutdir: str
test_data_resolver: TestDataResolver

galaxy_test.selenium.test_workflow_editor module

class galaxy_test.selenium.test_workflow_editor.WorkflowEditorTestCase(methodName='runTest')[source]

Bases: SeleniumTestCase, RunsWorkflows

ensure_registered = True
test_basics()[source]
test_edit_annotation()[source]
test_edit_name()[source]
test_optional_select_data_field()[source]
test_data_input()[source]
test_collection_input()[source]
test_data_column_input_editing()[source]
test_integer_input()[source]
test_non_data_connections()[source]
test_non_data_map_over_carried_through()[source]
test_connecting_display_in_upload_false_connections()[source]
test_existing_connections()[source]
test_reconnecting_nodes()[source]
test_rendering_output_collection_connections()[source]
test_simple_mapping_connections()[source]
test_rendering_simple_nested_workflow()[source]
test_rendering_rules_workflow_1()[source]
test_rendering_rules_workflow_2()[source]
test_save_as()[source]
test_editor_tool_upgrade()[source]
test_editor_tool_upgrade_message()[source]
test_editor_subworkflow_tool_upgrade_message()[source]
static set_text_element(element, value)[source]
test_change_datatype()[source]
test_change_datatype_post_job_action_lost_regression()[source]
test_change_datatype_in_subworkflow()[source]
test_editor_duplicate_node()[source]
test_editor_embed_workflow()[source]
test_editor_invalid_tool_state()[source]
test_missing_tools()[source]
test_workflow_bookmarking()[source]
workflow_editor_maximize_center_pane(collapse_left=True, collapse_right=True)[source]
workflow_editor_connect(source, sink, screenshot_partial=None)[source]
assert_connected(source, sink)[source]
assert_not_connected(source, sink)[source]
open_in_workflow_editor(yaml_content, auto_layout=True)[source]
workflow_editor_source_sink_terminal_ids(source, sink)[source]
workflow_editor_add_input(item_name='data_input')[source]
workflow_editor_destroy_connection(sink)[source]
assert_input_mapped(sink)[source]
assert_input_not_mapped(sink)[source]
workflow_index_open_with_name(name)[source]
workflow_upload_yaml_with_random_name(content)[source]
assert_wf_name_is(expected_name)[source]
assert_wf_annotation_is(expected_annotation)[source]
assert_modal_has_text(expected_text)[source]
move_center_of_canvas(xoffset=0, yoffset=0)[source]
history_id: Optional[str]
host: str
port: Optional[str]
url: str
keepOutdir: str
test_data_resolver: TestDataResolver

galaxy_test.selenium.test_workflow_invocation_details module

class galaxy_test.selenium.test_workflow_invocation_details.WorkflowInvocationDetailsTestCase(methodName='runTest')[source]

Bases: SeleniumTestCase

ensure_registered = True
test_job_details()[source]
history_id: Optional[str]
host: str
port: Optional[str]
url: str
keepOutdir: str
test_data_resolver: TestDataResolver

galaxy_test.selenium.test_workflow_management module

class galaxy_test.selenium.test_workflow_management.WorkflowManagementTestCase(methodName='runTest')[source]

Bases: SeleniumTestCase, TestsGalaxyPagers, UsesWorkflowAssertions

ensure_registered = True
test_import_from_url()[source]
test_view()[source]
test_rename()[source]
test_download()[source]
test_tagging()[source]
test_tag_filtering()[source]
test_index_search_filters()[source]
test_workflow_delete()[source]
test_pagination()[source]
history_id: Optional[str]
host: str
port: Optional[str]
url: str
keepOutdir: str
test_data_resolver: TestDataResolver

galaxy_test.selenium.test_workflow_run module

class galaxy_test.selenium.test_workflow_run.WorkflowRunTestCase(methodName='runTest')[source]

Bases: SeleniumTestCase, UsesHistoryItemAssertions, RunsWorkflows

ensure_registered = True
test_simple_execution()[source]
test_expanded_execution_of_simple_workflow()[source]
test_runtime_parameters_simple()[source]
test_subworkflows_expanded()[source]
test_subworkflow_runtime_parameters()[source]
test_replacement_parameters()[source]
test_step_parameter_inputs()[source]
test_replacement_parameters_on_subworkflows()[source]
test_execution_with_tool_upgrade()[source]
test_execution_with_multiple_inputs()[source]
test_execution_with_text_default_value_connected_to_restricted_select()[source]
test_execution_with_rules()[source]
test_execution_with_custom_invocation_report()[source]
test_execution_with_null_optional_select_from_data()[source]
history_id: Optional[str]
host: str
port: Optional[str]
url: str
keepOutdir: str
test_data_resolver: TestDataResolver

galaxy_test.selenium.test_workflow_sharing module

class galaxy_test.selenium.test_workflow_sharing.WorkflowSharingRedirectTestCase(methodName='runTest')[source]

Bases: SeleniumTestCase

ensure_registered = True
test_share_workflow_with_login_redirect()[source]
test_export_workflow_with_login_redirect()[source]
history_id: Optional[str]
host: str
port: Optional[str]
url: str
keepOutdir: str
test_data_resolver: TestDataResolver
class galaxy_test.selenium.test_workflow_sharing.WorkflowSharingTestCase(methodName='runTest')[source]

Bases: SeleniumTestCase, UsesWorkflowAssertions

test_sharing_workflow_by_email()[source]
test_sharing_workflow_by_id()[source]
test_unsharing_workflow()[source]
test_sharing_with_invalid_user()[source]
test_sharing_with_self()[source]
setup_two_users_with_one_shared_workflow(screenshot=False, share_by_id=False)[source]
history_id: Optional[str]
host: str
port: Optional[str]
url: str
keepOutdir: str
test_data_resolver: TestDataResolver