遵循本教程: http://fbflex.wordpress.com/2013/03/18/how-to-configure-webdriver-in-grails-for-your-geb-tests/
我做:
def "go to page"() {
when:
go "http://www.grails.org.mx"
then:
title == "GrailsMX | Groovy y Grails en tu idioma"
}
当我跑步时,我收到数百封这样的信息:
13,09 22:06:18:992 [JS executor for com.gargoylesoftware.htmlunit.WebClient@2fc9e7a5] ERROR javascript.StrictErrorReporter - runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://grails.org.mx/wp-content/themes/journalcrunch/js/cufon-yui.js] line=[7] lineSource=[null] lineOffset=[0]
其中一些是多次打印出来的?
我不确定我做错了什么或我该怎么办?
任何提示?