Commit Graph
287 Commits
Author SHA1 Message Date
John Chilton 69bb18a0e5 Rework SeleniumTestCase.ensure_registered to get test dumps.
Looks like a lot of problems are happening before we even enter the test case - so our retry handling for instance will not work and we don't get pretty test outputs.
2019-09-23 12:52:10 -04:00
Dannon 6d632f2afc Merge pull request #8551 from guerler/workflow_list_vue
Implementation of the workflow list as vue component
2019-09-19 22:03:11 -04:00
Martin Cech 0a790326bd Merge pull request #8678 from jmchilton/skip_if_down
Improve CI reliability by annotating external resources.
2019-09-19 10:09:23 -04:00
John Chilton 0c2b8b9216 Improve CI reliability by annotating external resources.
And skipping if github, usegalaxy.org, or the tool shed is down for tests that depend on these.
2019-09-19 07:21:35 -04:00
John Chilton 80d8d57313 Get rid of fix timeout in admin app Selenium test.
Try to avoid these because dockerized, CI tests run slower typically. This test I think is unstable because of this fixed, small timeout. Jobs definitely can take longer than 5 seconds in the tests.
2019-09-18 13:18:38 -04:00
guerler 117aabb3f6 Merge branch 'dev' into workflow_list_vue 2019-09-11 11:26:57 -04:00
guerler 855c0702b6 Use pseudo class for run button instead of fontawesome class 2019-09-06 15:31:31 -04:00
guerler e3ef9c034f Adjust click option selector in selenium workflow tests 2019-09-05 23:23:44 -04:00
guerler 501c663861 More fixes for selenium test ids in the workflow list component 2019-09-05 21:31:17 -04:00
guerler 0bdf579aae Restore default headless setting for selenium tests 2019-09-05 18:51:43 -04:00
guerler b51fd999cb Add and correct ids for workflow list selenium tests 2019-09-05 15:21:05 -04:00
John Chilton ad650897d6 Implement workflow invocation reports.
Implement markdown backend and frontend components as well generator plugin framework to allow customizable workflow invocation reports.

Architectural Choices on the Client

Old-style embedded objects vs components

In theory, this could make really nice use of excellent VueJS components for dataset display, dataset collection display, workflow display, etc.. These aren't available yet, we don't even really have Backbone stuff that exist very well outside history panels, so this re-uses "components" from Galaxy Pages for datasets and reuses the collection display for history panels as a stand-alone display for collections (I got this trick from DIsplayStructured.vue). This isn't ideal and I know that but at least reusing things this way will provide a path forward for migrating both pages and this new Markdown language (which could easily replace or co-exist with pages HTML someday) together seamlessly as the real modern components become available and doesn't increase the overall work needed to integrate newer style components. In fact, this might even be the impetus for creating and polishing more of these components.

markdown-it vs markdown-it-vue

I tried this with markdown-it-vue also but it added very little in terms of reducing client code, obscured entirely how to attach plugins to the markdown rendering process, and brought in many, many more extra packages that we don't need or want.

Given there is no representation of invocations in the GUI and not editor for reports config this is a bit challenging still. But here is goes:

- Source Galaxy's virtualenv.
- Login to a user and grab an API key, set in the following command:
- ``GALAXY_TEST_EXTERNAL=http://localhost:8080 GALAXY_TEST_USER_API_KEY=38175dfc69d9009992b69efcca8b209b pytest test/api/test_workflows.py::WorkflowsApiTestCase::test_workflow_invocation_report_custom``
- In the web browser go to http://localhost:8080/api/invocations and grab the latest invocation ID. Replace it in the follow query string.
- Navigate to http://localhost:8080/workflows/invocations/report?id=c887f1d0da42bdfe
2019-08-30 09:43:01 -04:00
John Chilton 377e48918d Create galaxy-selenium package.
This is *not* the tests, it is the components for interacting with Galaxy via Selenium that can be used in any Galaxy UI automation context - not just tests. This includes a tiny CLI framework for building apps that drive Galaxy this way.
2019-07-08 12:21:47 +02:00
Dannon Baker 8398084b6f Merge remote-tracking branch 'upstream/dev' into dm-cleanup 2019-06-20 11:38:01 -04:00
John Chilton 7a544aa31b Page-editor-as-component - initial Selenium test for pages + embedded objects. 2019-05-29 13:43:49 -04:00
John Chilton 79ce86bce5 Fix Selenium DatasetPopulator for more interesting uploads.
This is a bug, that interface consumes files and so should this method.
2019-05-27 17:56:55 -04:00
Dannon Baker 4bcd3b4b39 Move 'test_saved_histories' to 'test_histories_list' 2019-05-23 15:39:55 -04:00
Dannon Baker 55bf2fea06 Go ahead and update saved_histories -> histories everywhere in selenium tests 2019-05-23 15:38:30 -04:00
John Chilton 5496aad8a1 Fix Selenium tests.
https://jenkins.galaxyproject.org/job/docker-selenium/6478/artifact/6478-test-errors/test_admin_server_display2019051612081558008530/

Likely broken with https://github.com/galaxyproject/galaxy/pull/7790.
2019-05-16 14:01:48 -04:00
Ivan Kuzmin a5df0c346e remove test for deleted button 2019-05-08 16:03:29 +03:00
Ivan Kuzmin 5aaee6926e fix for selenium tests 2019-05-07 21:25:10 +03:00
guerler 2a0e0e1736 Remove close option from selenium tests 2019-04-30 19:14:25 -04:00
Dannon Baker 4f9c301e0a Update selenium tests 2019-04-25 07:21:54 -04:00
Martin Cech 9852c2d5ac adjust selenium tests for the new button 2019-03-26 15:41:16 -04:00
Mason c93885f2a2 Corrected name tag output, removed hashMark on badge label 2019-03-21 22:30:01 -07:00
Dannon Baker eea4675698 Typo in test_history_panel_collections 2019-03-21 11:55:34 -04:00
Mason f66b73196d Replace backbone tagging with components 2019-03-12 09:38:46 -07:00
Mason 84d5d9dd87 Merge branch 'dev' into tagging_component_3 2019-02-28 19:26:25 -08:00
guerler 3274aad170 Fix selenium test, navigate to analysis after logout 2019-02-12 13:28:08 -05:00
Mason c33cd1665d Merge branch 'dev' into tagging_component_3 2019-02-06 10:13:55 -08:00
guerler a618905b7c Merge branch 'dev' into registration_mako 2019-02-04 14:29:44 -05:00
Dannon Baker 817a8469b6 Tie chrome native headless mode into existing HEADLESS logic, functioning with or without pyvirtualdisplay. 2019-02-04 10:07:15 -05:00
Dannon Baker 9e879b731f Drop now unused slowrender 2019-02-01 13:50:23 -05:00
Dannon Baker 7dd9213fd8 Add longer pauses for some selenium tests, mark as slow renders for easier tracking down and fixing. 2019-02-01 10:18:46 -05:00
Mason f729dab313 Tagging component 2019-01-31 23:16:17 -08:00
guerler 4a155c7cbf Fix registration error message content 2019-01-29 16:34:27 -05:00
guerler fdc6557ab6 Merge branch 'dev' into registration_mako 2019-01-18 14:58:21 -05:00
Dannon Baker 40003111b3 Merge branch 'remove_openid_login_mako' into dev 2019-01-18 11:10:50 -05:00
guerler 06265ad536 Merge branch 'dev' into remove_openid_login_mako 2019-01-09 16:16:42 -05:00
Nicola Soranzo dcce49d571 Merge branch 'release_19.01' into dev 2019-01-09 19:15:17 +00:00
Nicola Soranzo 240633b373 Comment out unused line 2019-01-08 15:09:15 +00:00
John Chilton 3ecb0a1a08 Fix workflow parameter test case? 2019-01-08 09:24:27 -05:00
Mason 4e1d93fb89 Merged dev, included store reference in bundleEntries 2018-12-26 10:37:53 -08:00
Mason 21b2dd8bc6 Added initialization queue, reformatted tempaltes for single entry point, global removals 2018-12-13 16:18:25 -08:00
guerler 5b677cfd52 Fix selenium test, add missing applications message 2018-12-13 13:10:52 -05:00
guerler 06deee06a4 Fix selenium test case for display application visibility 2018-12-12 13:42:28 -05:00
guerler 754b6a7e07 Fix selenium tests 2018-12-08 17:19:37 -05:00
guerler 29ceca884f Fix selenium login test case 2018-11-28 22:13:32 -05:00
Marius van den Beek e98f63caf2 Merge pull request #6925 from jmchilton/workflow_step_parameters_3
Add workflow step parameters to workflow editor (try 3)
2018-11-10 20:45:32 +01:00
Mason 1b18e9ea2d More linting fun 2018-11-06 21:26:46 -08:00