From 30cac4006fce9515016591ead11a33fde429dd61 Mon Sep 17 00:00:00 2001 From: James Taylor Date: Mon, 30 Mar 2009 17:51:34 -0400 Subject: [PATCH] Modifying/adding selenium workflow tests to test for the grouping problem that was just fixed (need an input dataset within a group) as well as the input connection problem (need the last node created to have an output that is not compatible with all inputs) --- ...kflowWithGroupingAndRuntimeParameters.html | 147 ++++++------------ ...kflowWithGroupingAndRuntimeParameters.html | 92 +++++++++++ test/selenium/workflow/Suite.html | 1 + 3 files changed, 139 insertions(+), 101 deletions(-) create mode 100644 test/selenium/workflow/RunWorkflowWithGroupingAndRuntimeParameters.html diff --git a/test/selenium/workflow/CreateWorkflowWithGroupingAndRuntimeParameters.html b/test/selenium/workflow/CreateWorkflowWithGroupingAndRuntimeParameters.html index cd60872cf22..9650a4cba81 100644 --- a/test/selenium/workflow/CreateWorkflowWithGroupingAndRuntimeParameters.html +++ b/test/selenium/workflow/CreateWorkflowWithGroupingAndRuntimeParameters.html @@ -12,13 +12,8 @@ Create Workflow With Grouping And Runtime Parameters - setSpeed - 100 - - - - clickAndWait - link=Workflow + open + /workflow @@ -52,23 +47,18 @@ - waitForNotVisible - overlay + click + //div[@id='title___workflow__input__']/a/span click - //div[@id='title_group']/a/span - - - - click - link-Grouping1 + link=Input dataset waitForElementPresent - wf-node-step-1 + //div[@id='wf-node-step-1']/div[1] @@ -88,7 +78,17 @@ click - link-Grouping1 + //div[@id='title_bxops']/a/span + + + + click + link-gops_complement_1 + + + + waitForElementPresent + //div[@id='wf-node-step-2']/div[1] @@ -108,7 +108,17 @@ click - link-Grouping1 + //div[@id='title_plots']/a/span + + + + click + link-build_ucsc_custom_track_1 + + + + waitForElementPresent + //div[@id='wf-node-step-3']/div[1] @@ -127,95 +137,30 @@ 300,300 - clickAt - //div[@id='wf-node-step-1']/div[1] + click + tracks_add + + + + waitForElementPresent + //div[@name='tracks_0|input'] click - popup-arrow-for-row-groupcol + popup-arrow-for-row-tracks_0|name click - //div[@id='popup-arrow-for-row-groupcol-menu']/div + //div[@id='popup-arrow-for-row-tracks_0|name-menu']/div - waitForText - //div[@id='right-content']/div/div[2]/form/div[2]/div[1]/i + verifyText + //div[@id='row-tracks_0|name']/div[1]/i To be set at runtime - - click - operations_add - - - - click - tool-form-save-button - - - - clickAt - //div[@id='wf-node-step-2']/div[1] - - - - click - operations_add - - - - waitForText - //div[@id='right-content']/div/div[2]/form/div[3]/div[2]/div[1]/b - Operation 1 - - - type - operations_0|opcol - 3 - - - click - operations_add - - - - waitForText - //div[@id='right-content']/div/div[2]/form/div[3]/div[3]/div[1]/b - Operation 2 - - - type - operations_1|opcol - 4 - - - click - tool-form-save-button - - - - verifyValue - operations_0|opcol - 3 - - - verifyValue - operations_1|opcol - 4 - - - click - operations_0_remove - - - - verifyValue - operations_1|opcol - 4 - click tool-form-save-button @@ -223,7 +168,7 @@ mouseDownAt - //div[@id='wf-node-step-1']/div[2]/div[3]/div + //div[@id='wf-node-step-1']/div[2]/div[2]/div @@ -238,7 +183,7 @@ mouseDownAt - //div[@id='wf-node-step-1']/div[2]/div[3]/div + //div[@id='wf-node-step-2']/div[2]/div[3]/div @@ -257,14 +202,14 @@ - click - close-button + waitForNotVisible + overlay - verifyText - //div[@id='right-content']/div/div[2]/form/div[3]/div[2]/div[1]/b - Operation 1 + clickAndWait + close-button + diff --git a/test/selenium/workflow/RunWorkflowWithGroupingAndRuntimeParameters.html b/test/selenium/workflow/RunWorkflowWithGroupingAndRuntimeParameters.html new file mode 100644 index 00000000000..fb4b2dd52c8 --- /dev/null +++ b/test/selenium/workflow/RunWorkflowWithGroupingAndRuntimeParameters.html @@ -0,0 +1,92 @@ + + + + + + +Run Workflow with Grouping + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Run Workflow with Grouping
open/workflow
selectFramegalaxy_main
clickwf-0-popup
clickAndWait//div[@id='wf-0-popup-menu']/div[2]
selectFramegalaxy_main
type//form[@id='tool_form']/div[3]/div[2]/div/div[2]/div[3]/div[1]/input[1]Title set at runtime
select//form[@id='tool_form']/div[1]/div[2]/div/div[1]/selectlabel=1: 1.bed
clickAndWaitrun_workflow
verifyTextPresentMust have length no more than 15
type//form[@id='tool_form']/div[3]/div[2]/div/div[2]/div[3]/div[1]/input[1]Runtime
clickAndWaitrun_workflow
selectFramerelative=up
selectFramegalaxy_history
waitForTextPresentexact:85 regions, format: bed, database: ?
waitForTextPresentexact:Info: Generated a custom track containing 1 subtracks.
+ + diff --git a/test/selenium/workflow/Suite.html b/test/selenium/workflow/Suite.html index f94c335a6ee..c111996f61e 100644 --- a/test/selenium/workflow/Suite.html +++ b/test/selenium/workflow/Suite.html @@ -12,6 +12,7 @@ Create Simple Workflow Verify / Run Simple Workflow Create Workflow With Grouping And Runtime Parameters +Run Workflow with Grouping