Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: web-3.3.1
-
Component/s: Web Selenium
-
Labels:None
-
Number of attachments :
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
Activity

Field | Original Value | New Value |
---|---|---|
Description |
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 :( |
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 :( |

Summary | Firefox window not closing (by default) for JB run with failure in it. | Firefox window not closing (by default) when failure occurs |
Assignee | Mauro Talevi [ maurotalevi ] | |
Fix Version/s | web-3.4 [ 17279 ] |

Fix Version/s | web-3.3.3 [ 17366 ] |

Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Root cause is
JBEHAVE-472. Fixed in 3.4-beta-2.