Permalink
Browse files

Added test verifying browser closes if 'Open Browser' is incomplete.

This patch verifies the fix for #70.
  • Loading branch information...
1 parent c7769a8 commit 21829ec3eb4a2fdedc136560958e6126a785b00b @emanlove emanlove committed Jan 9, 2014
Showing with 11 additions and 0 deletions.
  1. +11 −0 test/acceptance/open_and_close.txt
@@ -17,3 +17,14 @@ There Should Be A Good Error Message If Browser Is Not Opened
Close Browser Does Nothing When No Browser Is Opened
Close Browser
+
+Browser Open With Not Well-Formed URL Should Close
+ [Documentation] Verify after incomplete 'Open Browser' browser closes
+ ... LOG 1.1:10 DEBUG STARTS: Opened browser with session id
+ ... LOG 1.1:10 DEBUG REGEXP: .*but failed to open url.*
+ ... LOG 2:2 DEBUG STARTS: DELETE
+ ... LOG 2:3 DEBUG Finished Request
+
+ Run Keyword And Expect Error *
+ ... Open Browser bad.url.bad ${BROWSER}
+ Close All Browsers

0 comments on commit 21829ec

Please sign in to comment.