[ 
http://jira.codehaus.org/browse/JBEHAVE-486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Paul Hammant updated JBEHAVE-486:
---------------------------------

    Description: 
Steps to reproduce for Etsy:

1) Corrupt CartContents.goovy (line 24) like so aim at an xpath like so:

   findElement(By.xpath("//a[@rel = 'removeeeeeeeeeee']")).click()

2) Run the build.  

3) Note that there is a Firefox window open at the end of the run.  This did 
not happen before the 3.4-beta-1 (core) and 3.3.1 (web) releases :( 

  was:
Steps to reproduce:

1) Corrupt CartContents.goovy like so:

--- a/etsy-stories/src/main/groovy/pages/CartContents.groovy
+++ b/etsy-stories/src/main/groovy/pages/CartContents.groovy
@@ -21,6 +21,6 @@ class CartContents extends BasePage{
 
   def removeItem() {
     get("http://www.etsy.com/cartcheckout.php";)
-    findElement(By.xpath("//a[@rel = 'remove']")).click()
+    findElement(By.xpath("//a[@rel = 'removeeeeeeeeeee']")).click()
   }
 }

2) Run the build.  

3) Note that there is a Firefox window open at the end of the run.  This did 
not happen before the 3.4-beta-1 (core) and 3.3.1 (web) releases :( 


> Firefox window not closing (by default) for JB run with failure in it.
> ----------------------------------------------------------------------
>
>                 Key: JBEHAVE-486
>                 URL: http://jira.codehaus.org/browse/JBEHAVE-486
>             Project: JBehave
>          Issue Type: Bug
>          Components: Web Selenium
>    Affects Versions: web-3.3.1
>            Reporter: Paul Hammant
>
> Steps to reproduce for Etsy:
> 1) Corrupt CartContents.goovy (line 24) like so aim at an xpath like so:
>    findElement(By.xpath("//a[@rel = 'removeeeeeeeeeee']")).click()
> 2) Run the build.  
> 3) Note that there is a Firefox window open at the end of the run.  This did 
> not happen before the 3.4-beta-1 (core) and 3.3.1 (web) releases :( 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to