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
galaxy_test.selenium.test_admin_app module¶
- class galaxy_test.selenium.test_admin_app.AdminAppTestCase(methodName='runTest')[source]¶
Bases:
SeleniumTestCase
- requires_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.AnonymousHistoriesTestCase(methodName='runTest')[source]¶
Bases:
SeleniumTestCase
- 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_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_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_data_resolver: TestDataResolver¶
galaxy_test.selenium.test_custom_builds module¶
- class galaxy_test.selenium.test_custom_builds.CustomBuildsTestcase(methodName='runTest')[source]¶
Bases:
SharedStateSeleniumTestCase
Override this to setup shared data for tests that gets initialized only once.
- 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_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_data_resolver: TestDataResolver¶
galaxy_test.selenium.test_histories_list module¶
- class galaxy_test.selenium.test_histories_list.SavedHistoriesTestCase(methodName='runTest')[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¶
- class galaxy_test.selenium.test_history_copy_elements.HistoryCopyElementsTestCase(methodName='runTest')[source]¶
Bases:
SeleniumTestCase
- ensure_registered = True¶
- 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_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_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_switch_history()[source]¶
Load the multi history view. There should be a selector for the button to create a new history.
Create a new history. This should automatically switch to the newly created history.
Switch back to the original history. A button should appear on the old, previously created history that allows switching back to that one, and the history ID should now match the ID of the history with which we started.
- 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.HistoryPanelTestCase(methodName='runTest')[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.HistoryPanelCollectionsTestCase(methodName='runTest')[source]¶
Bases:
SeleniumTestCase
- ensure_registered = True¶
- test_data_resolver: TestDataResolver¶
galaxy_test.selenium.test_history_panel_pagination module¶
- class galaxy_test.selenium.test_history_panel_pagination.HistoryPanelPaginationTestCase(methodName='runTest')[source]¶
Bases:
SeleniumTestCase
- ensure_registered = True¶
- test_data_resolver: TestDataResolver¶
galaxy_test.selenium.test_history_sharing module¶
- class galaxy_test.selenium.test_history_sharing.HistorySharingTestCase(methodName='runTest')[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¶
- class galaxy_test.selenium.test_history_structure.HistoryStructureTestCase(methodName='runTest')[source]¶
Bases:
SeleniumTestCase
- ensure_registered = True¶
- test_data_resolver: TestDataResolver¶
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_data_resolver: TestDataResolver¶
galaxy_test.selenium.test_jupyter module¶
- class galaxy_test.selenium.test_jupyter.JupyterTestCase(methodName='runTest')[source]¶
Bases:
SeleniumTestCase
- ensure_registered = True¶
- test_data_resolver: TestDataResolver¶
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_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_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_data_resolver: TestDataResolver¶
galaxy_test.selenium.test_login module¶
- class galaxy_test.selenium.test_login.LoginTestCase(methodName='runTest')[source]¶
Bases:
SeleniumTestCase
- 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_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_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
Override this to setup shared data for tests that gets initialized only once.
- test_data_resolver: TestDataResolver¶
galaxy_test.selenium.test_registration module¶
- class galaxy_test.selenium.test_registration.RegistrationTestCase(methodName='runTest')[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(methodName='runTest')[source]¶
Bases:
SeleniumTestCase
- 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
- 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_data_resolver: TestDataResolver¶
- class galaxy_test.selenium.test_tool_form.LoggedInToolFormTestCase(methodName='runTest')[source]¶
Bases:
SeleniumTestCase
- ensure_registered = True¶
- test_data_resolver: TestDataResolver¶
galaxy_test.selenium.test_uploads module¶
- class galaxy_test.selenium.test_uploads.UploadsTestCase(methodName='runTest')[source]¶
Bases:
SeleniumTestCase
,UsesHistoryItemAssertions
- 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_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_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_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_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_data_resolver: TestDataResolver¶
- class galaxy_test.selenium.test_workflow_sharing.WorkflowSharingTestCase(methodName='runTest')[source]¶
Bases:
SeleniumTestCase
,UsesWorkflowAssertions
- test_data_resolver: TestDataResolver¶