Hello!
I'm using the canoo webtest plugin for grails and I would like to
disable java script for all tests.
The only thing I know is, that I can disable java script for each test
by adding "enableJavaScript(enable: false)"
Example of a test class:
class MyTest extends extends grails.util.WebTest {
def test1() {
enableJavaScript(enable: false)
invoke(url:"http://example.com/page1.html")
}
def test2() {
enableJavaScript(enable: false)
invoke(url:"http://example.com/page2.html")
}
}
Is there any way to disable javascript for all tests in a project? Is
there any option I could write to the webtest.properties?
kind regards
Franz
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest