Commit Graph
22 Commits
Author SHA1 Message Date
Marius van den Beek 0e69ca8bfb Merge pull request #6545 from jmchilton/rule_builder_use_group_tags
Allow Consuming Tags in the Apply Rules Tool
2018-08-26 11:17:14 +02:00
John Chilton 9552830121 More Selenium test fixes.
A lot broke while we weren't running the tests against PRs.
2018-08-01 12:13:27 -04:00
John Chilton 5807230253 Implement rule builder rule to quickly grab group tag value.
Should make it a lot easier to nested and filter on group tag values.
2018-07-27 08:05:05 -04:00
John Chilton 050c9e99c6 Rules - test case for apply rules tutorial.
Demonstrates using the Apply Rules collection operation tool against existing collections to:

 - Use grouping to build nested lists from flat ones.
 - Invert nested collections.
 - Filter collections.
 - Filter while also grouping to build nested collections.

Based on count data used in the DESeq2 tutorial (http://bioconductor.org/packages/devel/bioc/vignettes/DESeq2/inst/doc/DESeq2.html), originally from the Bioconductor Pasilla package (http://bioconductor.org/packages/release/data/experiment/html/pasilla.html). Citation: Huber W, Reyes A (2018). pasilla: Data package with per-exon and per-gene read counts of RNA-seq samples of Pasilla knock-down by Brooks et al., Genome Research 2011.. R package version 1.8.0.
2018-05-05 16:52:02 -04:00
John Chilton cf2f6d7dcf Fix selenium tests failing because APPLY_RULES appears twice in panel. 2018-04-24 14:17:52 -04:00
John Chilton 8af243c176 Allow rule based operations on existing collections.
Allow the rules DSL & GUI component to operate on existing collections to allow filtering, sorting, modifying identifiers and general re-organization of existing collections (e.g. the outputs of tools). Implementing this as a collection operation tool so that it should be executable interactively in the tool form and in a batch fashion as part of workflow executions.

For this to be tracked properly as a tool execution and to work properly in the tool form, I've implemented a new tool framework and tool form parameter type called "rules".

This can thought of as a more GUI friendly alternative to my proposed collection operations that consumed JavaScript expressions.

This includes API tests for both tool and workflow execution of the new tool as well as Selenium tests for tool form execution, workflow editor interactions, and workflow running.
2018-04-24 11:10:43 -04:00
Nicola Soranzo 680cfec4c9 Properly order @flakey and @selenium_test decorators 2018-03-16 13:16:01 +00:00
John Chilton 6fd6595238 Another try to fix flakey tool form Selenium test. 2017-12-14 08:21:46 -05:00
John Chilton d8fe56c670 Modify citations test to clarify some bugs. 2017-11-27 12:42:31 -05:00
John Chilton bb7d06f59e Pre-fetch citations in new test so available quickly at render time. 2017-11-25 00:10:28 -05:00
John Chilton 05ddc50c1a Make test more robust - citations take a while to fetch from doi. 2017-11-24 18:11:02 -05:00
John Chilton ca2eb5b2a5 Simple tool test for citations. 2017-11-24 15:25:19 -05:00
John Chilton cecef90915 Merge remote-tracking branch 'jmchilton/dev' into tdt_tests 2017-11-14 21:49:15 -05:00
John Chilton c52ebfca26 Improvements for tour generator Selenium tests.
- Replace test using Cut1 with two tests each using framework test tools loaded with Selenium tests by default.
- Create a symbolic link so that tour generator is configured with default test webhooks.
- Establish and use components and navigates_galaxy.py abstractions for tour generation and navigation.
- In one of the tool tests actually walk the tour (previously we only verified the initial tour popover).
2017-11-14 21:41:09 -05:00
John Chilton 2f63d8bd70 Capture a bunch of labelled screenshots of Galaxy durings tests.
During pull requests reviews this allows easy visual inspection of various components to augment the automated testing.
2017-11-09 15:15:24 -05:00
Nicola Soranzo 9b1832abb1 Fix import order for cron/, scripts/ and test/ 2017-09-25 23:44:39 +01:00
John Chilton 5ba5e8a85f One more fix for main_panel fix in #3992.
See #4003 / d09ba53c8e for similar fix to other tests and more information.
2017-05-08 12:08:24 -04:00
John Chilton 3d13a2bb4f Fix transiently failing Selenium test of tool form re-running.
Reworks addition of staleness checkers introduced in #3780.
2017-03-24 10:06:42 -04:00
John Chilton 1af1583caa Fix various transiently failing Selenium tests.
I'm pretty sure the problem is that I was waiting on conditions (e.g. datasets to become "ok") using the API and then assuming the state of the GUI elements was the same. Obviously though the GUI is polling the API and there is some lag there. This commit changes things to specifically wait on history panel GUI changes - obviously the better thing to wait on in a GUI test.
2017-01-19 10:22:20 -05:00
John Chilton 78b099f3a7 Expand selenium test coverage for workflows.
Expand and then break out workflow management tests into its own file since these aren't related to the workflow editor per se. Includes new tests of workflow "viewing" and "renaming".

Add a new file for testing workflow execution. This currently contains tests for simple execution with a single input and a test for running workflows with tool version upgrades.

This includes a refactoring of some existing tests related to checking various things in the history panel - as part of building up good history panel abstractions. The previous constructs were ported fairly literally from older CasperJS tests. These abstractions therefore referred to everything has "hda"s instead of history items. The newer abstractions therefore allow for collections and are built around HIDs (a visual thing exposed to the user) instead of HDA IDs. I think this is higher-level and more appropriate for a web functional test.

Rebase into workflow GUI tests.
2017-01-08 08:13:42 -05:00
John Chilton a5af4d155f Fix Python 3 linting error for #3340. 2016-12-20 13:19:49 -05:00
John Chilton cc32dcae4b Initial tool form and dataset detail selenium testing.
- Test parameters and tables appear on dataset details page after running a tool.
- Test a simple tool execution with an integer field.
- Test re-run a tool.
- Test a tool with a data drop down.
- Improved select2 abstractions.
2016-12-20 12:34:50 -05:00