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 {
17
17
try goTo(" https://www.google.com" ) catch { case e : Throwable => cancel(e) }
18
18
try {
19
19
clickOn(" q" )
20
- textField (" q" ).value = " Cheese!"
20
+ textArea (" q" ).value = " Cheese!"
21
21
submit()
22
22
// Google's search is rendered dynamically with JavaScript.
23
23
eventually(assert(pageTitle === " Cheese! - Google Search" ))
@@ -68,6 +68,7 @@ class DriverSpec extends funspec.AnyFunSpec {
68
68
val testStartingList = rep.testStartingEventsReceived
69
69
assert(testStartingList.size == 1 )
70
70
assert(testStartingList(0 ).testName == " google.com should change its title based on the term searched" )
71
+ println(" ####debug: " + rep.testFailedEventsReceived)
71
72
val testSucceededList = rep.testSucceededEventsReceived
72
73
assert(testSucceededList.size == 1 )
73
74
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