Commit Graph
276 Commits
Author SHA1 Message Date
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
Mason 10723c789f Added white space to pass linter 2018-11-06 21:24:53 -08:00
Mason a8eb9463a6 test/selenium_tests/test_library_contents.py 2018-11-06 15:17:14 -08:00
John Chilton f12e548872 Step parameter workflow run test case and fix. 2018-11-06 09:06:09 -05:00
John Chilton 29950be83f Workflow editor testing for step parameters/connections.
- Fixes and refactoring for existing input tests (toward reuse).
- Add simple test for non-data input.
2018-11-05 20:52:25 -05:00
Sebastian Kapust 8789713b95 Merge branch 'dev' into admin.data.manager.vue.steps 2018-11-03 09:59:36 +01:00
Nicola Soranzo f4203ca051 Fix errors reported by flake8 3.6.0
Ignore W504.
2018-10-24 23:22:19 +01:00
Sebastian Kapust 53a505eaef Vue rewrite of admin data manager (local data): manage data table
* Rewrite (old mako, new json interface, new vue component)
 - Manage data table page (manage_data_table.mako, tool_data_table_info,
   DataManagerTable)
* Added Selenium test for DataManagerTable component (Manage data table page)
2018-10-17 10:33:18 +02:00
Sebastian Kapust 877feae8ba DataManagerJob: check for empty server data & refactoring
* DataManagerJob
 - Check for empty server data & refactoring
 - Fix and numerate data-card ids
* job_info
 - Fix error log in job_info.
 - Fix redirect in case job is non-existent with empty server response
   containing an error message and status.
* Extend DataManagerJob test
2018-10-16 15:20:02 +02:00
Sebastian Kapust 126c432bcf Merge branch 'dev' 2018-10-11 14:51:32 +02:00
John Chilton adcd733332 Fix broken gxformat2 imports. 2018-10-08 12:55:32 -04:00
Dannon f6d3059f7e Merge pull request #6422 from jxtx/styles-refresh-2018
Initial work on updating styles
2018-09-21 16:32:45 -04:00