Skip to content

Commit

Permalink
small tweaks on pull request #103
Browse files Browse the repository at this point in the history
  • Loading branch information
lefthandedgoat committed Sep 5, 2013
1 parent 0ad9382 commit a94bf24
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions basictests/Program.fs
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,8 @@ context "dragging"
click ".plus-button a img"
"#task_title" << "Demo"
click "#task_editor_buttons .save_button"
".handle" --> ".inprogress")
".handle" --> ".inprogress"
click "Blog")

if not (browser :? OpenQA.Selenium.PhantomJS.PhantomJSDriver) then
context "alert tests"
Expand Down Expand Up @@ -469,4 +470,4 @@ coverage testpage
coverage()
coverage "http://scrumy.com/silenter39delayed"

//quit mainBrowser
quit()
6 changes: 3 additions & 3 deletions canopy/reporters.fs
Original file line number Diff line number Diff line change
Expand Up @@ -209,10 +209,10 @@ type LiveHtmlReporter() =

member this.quit () =
match this.reportPath with
| Some(string) ->
let reportFileInfo = new IO.FileInfo(this.reportPath.Value)
| Some(path) ->
let reportFileInfo = new IO.FileInfo(path)
this.saveReportHtml reportFileInfo.Directory.FullName reportFileInfo.Name
| None -> Console.WriteLine("Not saving report")
| None -> consoleReporter.write "Not saving report"

if canQuit then _browser.Quit()

Expand Down

0 comments on commit a94bf24

Please sign in to comment.