Commit Graph
6 Commits
Author SHA1 Message Date
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