Files
galaxy/test/selenium_tests/_workflow_fixtures.py
T
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

39 lines
596 B
Python

WORKFLOW_SIMPLE_CAT_TWICE = """
class: GalaxyWorkflow
inputs:
- id: input1
steps:
- tool_id: cat
label: first_cat
state:
input1:
$link: input1
queries:
- input2:
$link: input1
"""
WORKFLOW_WITH_OLD_TOOL_VERSION = """
class: GalaxyWorkflow
inputs:
- id: input1
steps:
- tool_id: multiple_versions
tool_version: "0.0.1"
state:
inttest: 8
"""
WORKFLOW_WITH_INVALID_STATE = """
class: GalaxyWorkflow
inputs:
- id: input1
steps:
- tool_id: multiple_versions
tool_version: "0.0.1"
state:
inttest: "moocow"
"""