Warning
This document is for an old release 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¶
Subpackages¶
Submodules¶
galaxy_test.selenium.conftest module¶
galaxy_test.selenium.framework module¶
Basis for Selenium test framework.
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
- configured_driver: ConfiguredDriver¶
galaxy_test.selenium.test_admin_app module¶
- class galaxy_test.selenium.test_admin_app.TestAdminApp[source]¶
Bases:
SeleniumTestCase
- run_as_admin = True¶
- 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_data_resolver: TestDataResolver¶
galaxy_test.selenium.test_anon_history module¶
- class galaxy_test.selenium.test_anon_history.TestAnonymousHistories[source]¶
Bases:
SeleniumTestCase
- test_data_resolver: TestDataResolver¶
galaxy_test.selenium.test_change_password module¶
- class galaxy_test.selenium.test_change_password.TestChangePassword[source]¶
Bases:
SeleniumTestCase
- test_data_resolver: TestDataResolver¶
galaxy_test.selenium.test_collection_builders module¶
- class galaxy_test.selenium.test_collection_builders.TestCollectionBuilders[source]¶
Bases:
SeleniumTestCase
- ensure_registered = True¶
- test_data_resolver: TestDataResolver¶
galaxy_test.selenium.test_collection_edit module¶
- class galaxy_test.selenium.test_collection_edit.TestCollectionEdit[source]¶
Bases:
SeleniumTestCase
- ensure_registered = True¶
- test_data_resolver: TestDataResolver¶
galaxy_test.selenium.test_custom_builds module¶
galaxy_test.selenium.test_data_source_tools module¶
galaxy_test.selenium.test_dataset_metadata_download module¶
- class galaxy_test.selenium.test_dataset_metadata_download.TestHistoryDatasetState[source]¶
Bases:
SeleniumTestCase
,UsesHistoryItemAssertions
- ensure_registered = True¶
- test_data_resolver: TestDataResolver¶
galaxy_test.selenium.test_histories_list module¶
- class galaxy_test.selenium.test_histories_list.TestSavedHistories[source]¶
Bases:
SharedStateSeleniumTestCase
Override this to setup shared data for tests that gets initialized only once.
- test_data_resolver: TestDataResolver¶
galaxy_test.selenium.test_history_copy_elements module¶
galaxy_test.selenium.test_history_dataset_state module¶
- class galaxy_test.selenium.test_history_dataset_state.TestHistoryDatasetState[source]¶
Bases:
SeleniumTestCase
,UsesHistoryItemAssertions
- ensure_registered = True¶
- test_data_resolver: TestDataResolver¶
galaxy_test.selenium.test_history_export module¶
galaxy_test.selenium.test_history_multi_view module¶
- class galaxy_test.selenium.test_history_multi_view.TestHistoryMultiView[source]¶
Bases:
SeleniumTestCase
- ensure_registered = True¶
- test_data_resolver: TestDataResolver¶
galaxy_test.selenium.test_history_options module¶
galaxy_test.selenium.test_history_panel module¶
- class galaxy_test.selenium.test_history_panel.TestHistoryPanel[source]¶
Bases:
SeleniumTestCase
- ensure_registered = True¶
- test_data_resolver: TestDataResolver¶
galaxy_test.selenium.test_history_panel_collections module¶
- class galaxy_test.selenium.test_history_panel_collections.TestHistoryPanelCollections[source]¶
Bases:
SeleniumTestCase
- ensure_registered = True¶
- 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.TestHistorySharing[source]¶
Bases:
SeleniumTestCase
Share the current history with a target user by ID or email.
user_email
will be used to enter in the share form unlessuser_id
is also specified. Theuser_email
however is always used to check the result ifassert_valid
is True.
- test_data_resolver: TestDataResolver¶
galaxy_test.selenium.test_history_structure module¶
galaxy_test.selenium.test_invocation_grid module¶
galaxy_test.selenium.test_jupyter module¶
galaxy_test.selenium.test_library_contents module¶
- class galaxy_test.selenium.test_library_contents.TestLibraryContents[source]¶
Bases:
SeleniumTestCase
,UsesLibraryAssertions
- run_as_admin = True¶
- test_data_resolver: TestDataResolver¶
galaxy_test.selenium.test_library_landing module¶
- class galaxy_test.selenium.test_library_landing.TestLibraryLanding[source]¶
Bases:
SeleniumTestCase
- run_as_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_data_resolver: TestDataResolver¶
galaxy_test.selenium.test_library_to_collections module¶
- class galaxy_test.selenium.test_library_to_collections.TestLibraryToCollections[source]¶
Bases:
SeleniumTestCase
,UsesLibraryAssertions
- requires_admin = True¶
- test_data_resolver: TestDataResolver¶
galaxy_test.selenium.test_login module¶
- class galaxy_test.selenium.test_login.TestLogin[source]¶
Bases:
SeleniumTestCase
- test_data_resolver: TestDataResolver¶
galaxy_test.selenium.test_pages module¶
- class galaxy_test.selenium.test_pages.TestPages[source]¶
Bases:
SeleniumTestCase
- ensure_registered = True¶
- test_data_resolver: TestDataResolver¶
galaxy_test.selenium.test_personal_information module¶
- class galaxy_test.selenium.test_personal_information.TestManageInformation[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_data_resolver: TestDataResolver¶
galaxy_test.selenium.test_published_histories_grid module¶
galaxy_test.selenium.test_registration module¶
- class galaxy_test.selenium.test_registration.TestRegistration[source]¶
Bases:
SeleniumTestCase
- test_data_resolver: TestDataResolver¶
galaxy_test.selenium.test_sign_out module¶
galaxy_test.selenium.test_sizzle_loading module¶
galaxy_test.selenium.test_stock_tours module¶
- class galaxy_test.selenium.test_stock_tours.TestStockToursTestCase[source]¶
Bases:
SeleniumTestCase
- test_data_resolver: TestDataResolver¶
- class galaxy_test.selenium.test_stock_tours.TourCallback(test_case: TestStockToursTestCase)[source]¶
Bases:
object
- __init__(test_case: TestStockToursTestCase)[source]¶
galaxy_test.selenium.test_tool_describing_tours module¶
- class galaxy_test.selenium.test_tool_describing_tours.TestToolDescribingTours[source]¶
Bases:
SeleniumTestCase
- test_data_resolver: TestDataResolver¶
galaxy_test.selenium.test_tool_form module¶
- class galaxy_test.selenium.test_tool_form.TestToolForm[source]¶
Bases:
SeleniumTestCase
,UsesHistoryItemAssertions
- test_data_resolver: TestDataResolver¶
- class galaxy_test.selenium.test_tool_form.TestLoggedInToolForm[source]¶
Bases:
SeleniumTestCase
- ensure_registered = True¶
- test_data_resolver: TestDataResolver¶
galaxy_test.selenium.test_uploads module¶
- class galaxy_test.selenium.test_uploads.TestUploads[source]¶
Bases:
SeleniumTestCase
,UsesHistoryItemAssertions
- test_data_resolver: TestDataResolver¶
galaxy_test.selenium.test_workflow_editor module¶
- class galaxy_test.selenium.test_workflow_editor.TestWorkflowEditor[source]¶
Bases:
SeleniumTestCase
,RunsWorkflows
- ensure_registered = True¶
- test_data_resolver: TestDataResolver¶
galaxy_test.selenium.test_workflow_invocation_details module¶
galaxy_test.selenium.test_workflow_management module¶
- class galaxy_test.selenium.test_workflow_management.TestWorkflowManagement[source]¶
Bases:
SeleniumTestCase
,TestsGalaxyPagers
,UsesWorkflowAssertions
- ensure_registered = True¶
- test_data_resolver: TestDataResolver¶
galaxy_test.selenium.test_workflow_run module¶
- class galaxy_test.selenium.test_workflow_run.TestWorkflowRun[source]¶
Bases:
SeleniumTestCase
,UsesHistoryItemAssertions
,RunsWorkflows
- ensure_registered = True¶
- test_data_resolver: TestDataResolver¶
galaxy_test.selenium.test_workflow_sharing module¶
- class galaxy_test.selenium.test_workflow_sharing.TestWorkflowSharingRedirect[source]¶
Bases:
SeleniumTestCase
- ensure_registered = True¶
- test_data_resolver: TestDataResolver¶
- class galaxy_test.selenium.test_workflow_sharing.TestWorkflowSharing[source]¶
Bases:
SeleniumTestCase
,UsesWorkflowAssertions
- test_data_resolver: TestDataResolver¶