File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/test/scala/org/scalatestplus/selenium Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ class DriverSpec extends funspec.AnyFunSpec {
1717 try goTo(" https://www.google.com" ) catch { case e : Throwable => cancel(e) }
1818 try {
1919 clickOn(" q" )
20- textField (" q" ).value = " Cheese!"
20+ textArea (" q" ).value = " Cheese!"
2121 submit()
2222 // Google's search is rendered dynamically with JavaScript.
2323 eventually(assert(pageTitle === " Cheese! - Google Search" ))
@@ -68,6 +68,7 @@ class DriverSpec extends funspec.AnyFunSpec {
6868 val testStartingList = rep.testStartingEventsReceived
6969 assert(testStartingList.size == 1 )
7070 assert(testStartingList(0 ).testName == " google.com should change its title based on the term searched" )
71+ println(" ####debug: " + rep.testFailedEventsReceived)
7172 val testSucceededList = rep.testSucceededEventsReceived
7273 assert(testSucceededList.size == 1 )
7374 assert(testSucceededList(0 ).testName == " google.com should change its title based on the term searched" )
You can’t perform that action at this time.
0 commit comments