Commit Graph
51065 Commits
Author SHA1 Message Date
John Chilton 5661e0db9f Exploratory Jupyter environment for `galaxy-selenium`.
The new Makefile-based command ``make serve-selenium-notebooks`` will serve notebooks in lib/galaxy_test/selenium/jupyter.

The notebooks will target a Galaxy host running on port 8080 - but are parameterized to be run with papermill (https://papermill.readthedocs.io/) for automate targeting different Galaxy servers, remote Selenium servers, etc..

Screenshots will be embedded right into the notebook.

Example notebooks setup to target just the library code in ``galaxy-selenium`` as well as one appropriate to leverage the Galaxy testing framework are included and documented in depth via modules docstring for ``galaxy_test.selenium.jupyter``.
2021-01-18 17:24:28 -05:00
John Chilton a13fe04489 Remove older, deprecated casperjs version of UI navigation data. 2021-01-18 14:45:56 -05:00
John Chilton 25b12da947 Merge pull request #11142 from jmchilton/app_typed
Start type signature for UniverseApplication.
2021-01-18 10:10:26 -05:00
Marius van den Beek 9788c7ce84 Merge pull request #11160 from jmchilton/invocations_selenium_test_cases
Selenium test case for invocation grid + display.
2021-01-18 09:34:53 +01:00
John Chilton b6d99320d9 Selenium test case for workflow invocation details. 2021-01-17 00:36:08 -05:00
John Chilton 93a70abfa3 Don't display "view report 1" on each invocation in the grid. 2021-01-17 00:36:08 -05:00
John Chilton 7811a29ab0 Invocations component - ids -> classes.
These aren't unique on a page I think they should be classes right?
2021-01-17 00:33:06 -05:00
John Chilton 786fded90f Fix admin key handling in selenium populators. 2021-01-17 00:33:06 -05:00
John Chilton bc0f3296bb More typing for selenium plumbing. 2021-01-16 20:14:18 -05:00
John Chilton f32a81f53b Remove unused import. 2021-01-16 20:12:52 -05:00
John Chilton 106337e91d Setup a mechansim for using selenium populators outside testing contexts.
An extended version of the library functions in #10783 - to allow interacting with workflows, etc.. creating using the API from Selenium. Should make my test prototyping environment in #10784 a bit closer to test case enviornments and allow more rapid development of test cases.
2021-01-16 20:12:52 -05:00
John Chilton d8da53ef64 docstring improvement for galaxy_test.base.api. 2021-01-16 20:11:39 -05:00
John Chilton 3a9596a66f Cleanup galaxy_test.base.api_util.
- Rename get_master_api_key to get_admin_api_key - less offesnive and more accurate since it doesn't need to be the bootstrap key.
- Add types and cleanup docstrings.
2021-01-16 20:11:39 -05:00
John Chilton 239d6d095e Fix typing issues in galaxy_test.base.populators hierarchy.
- Consistent abstract methods with consistent implementation signatures.
- Add a bunch of types to methods to ensure mypy gets in there and checks everything it can while also improving the docs.
- Fix a bunch of issues where Base*Populators were using ``galaxy_interactor`` instances directly - which is bad since the whole point is to not require one of those to execute those methods.
2021-01-16 20:11:39 -05:00
John Chilton d40146dd19 docstring for galaxy_test.base.populators 2021-01-16 20:11:39 -05:00
John Chilton 5c72eb30bf Drop older nose-ism in galaxy_test.base.populators. 2021-01-16 20:11:39 -05:00
John Chilton 9d90da8d5f Drop last use of deprecated mixin. 2021-01-16 20:11:39 -05:00
Nicola Soranzo 73d9336207 Merge pull request #11157 from bernt-matthias/topic/fix-error-message
fix error message
2021-01-16 18:01:33 +00:00
Matthias Bernt aaa22cec31 fix error message 2021-01-16 17:02:32 +01:00
John Chilton e0ac7715c4 Merge pull request #11153 from nsoranzo/flake8_bugbear
Fix remaining issues reported by bugbear; add it to flake8 reqs
2021-01-16 09:03:41 -05:00
Nicola Soranzo 6df51858e0 Fix test_uninstall_outside_section unit test 2021-01-16 06:38:19 +00:00
Nicola Soranzo 452aba9ee3 Fix remaining issues reported by bugbear; add it to flake8 reqs 2021-01-16 05:58:15 +00:00
Nicola Soranzo 7763aae5b5 Merge branch 'release_21.01' into dev 2021-01-16 05:26:28 +00:00
Nicola Soranzo 2d6ab5d76b Merge branch 'release_20.09' into release_21.01 2021-01-16 05:25:48 +00:00
John Chilton 2934728749 Merge pull request #11150 from nsoranzo/release_20.09_unpin_data_package_reqs
[20.09] Fix requirements of `data` package and remove Py2 from packages
2021-01-15 19:58:43 -05:00
Nicola Soranzo dd80d624e4 Sync social-auth-core requirement in data package
v4.0.2 dropped support for Python 3.5
2021-01-15 19:07:26 +00:00
Nicola Soranzo 2bab40a7bd Remove already unsupported Python 2 from packages 2021-01-15 18:34:37 +00:00
Dannon b9fc876af6 Merge pull request #11147 from mvdbeek/fix_favorite_toggle
[20.09] Fix favorite toggle
2021-01-15 13:28:44 -05:00
Nicola Soranzo e12e939d06 Unpin requirements for galaxy-data package 2021-01-15 18:22:48 +00:00
John Chilton 7f0cfd690f More controller typing. 2021-01-15 13:02:11 -05:00
John Chilton cca4308d92 Implement partially typed version UniverseApplication. 2021-01-15 13:02:11 -05:00
Nicola Soranzo 98490490f5 Merge branch 'release_21.01' into dev 2021-01-15 17:30:56 +00:00
guerler 3c09e5c35e Align favorite button tooltip to toggle state 2021-01-15 18:11:27 +01:00
guerler 7a0a5a809e Detect search term changes in tool panel 2021-01-15 18:11:27 +01:00
guerler 9349a8b0e4 Fill star icon if favorites 2021-01-15 18:08:57 +01:00
guerler efa3abb4ea Allow toggling favorites button in tool panel 2021-01-15 18:08:57 +01:00
Marius van den Beek 33f337cef4 Merge pull request #10955 from guerler/toggle_favorite_tools
Allow toggling favorites button in tool panel
2021-01-15 18:07:50 +01:00
Nicola Soranzo 166087ea7a Merge branch 'release_20.09' into release_21.01 2021-01-15 17:05:47 +00:00
Nicola Soranzo 7ecbcf23cf Merge pull request #11134 from mvdbeek/disable_docker_calls 2021-01-15 16:51:54 +00:00
John Chilton 921648c471 docstrings and type annotations for galaxy.managers.context.
sphinx isn't rendering the types on the abstract properties - which makes me sad but I'm confident that will be fixed at some point. I did change some dependents around to ensure the type annotations are being used by mypy in this case and and they are.
2021-01-15 11:17:39 -05:00
Marius van den Beek 1599bdb05d Merge pull request #11144 from mvdbeek/job-step-collapse-fix
[21.01] Maintain expanded state of JobStep during polling
2021-01-15 17:02:55 +01:00
mvdbeek 588f2c49b6 Log exception but continue if cli is available but not functional
That is a good idea, thanks Nicola!
2021-01-15 15:47:16 +01:00
mvdbeek fff4fd5b04 Maintain expanded state of JobStep during polling
The InvocationStepProvider updates the invocation state in 3 second
intervals, and with it the jobs array. The new jobs in the  array don't
have the _showDetails attribute, so all expanded view will be reset.
This fixes that by keeping a component local state for the _showDetails
attribute.
2021-01-15 13:08:41 +01:00
John Chilton 0cb9469451 Merge pull request #11138 from Nerdinacan/fix_tests_again
replaced global vue with test vue in unit tests
2021-01-14 22:42:30 -05:00
Mason Houtz 1476a0b6ad replaced global vue with test vue in unit tests 2021-01-14 12:42:38 -08:00
John Chilton bbd325527c Merge pull request #11132 from davelopez/ignore-mypy-error
Fix mypy error with Union in response_model
2021-01-14 13:37:18 -05:00
Dannon 3372b3b8c5 Merge pull request #11135 from selten/patch-4
Minor spelling error fix
2021-01-14 12:23:03 -05:00
mvdbeek 5fed2b4c79 Don't load BuildMulled resolvers if docker not available 2021-01-14 18:18:06 +01:00
davelopez e3f7948a4a Use InferringRouter in licenses router
And remove all response_model declarations
2021-01-14 18:09:22 +01:00
davelopez f11d675753 Use InferringRouter in datatypes router
And remove all response_model declarations
2021-01-14 18:06:42 +01:00