spockで次のテストを実行しようとしています。
groovy
1import geb.spock.GebSpec 2import spock.lang.Unroll 3 4class Test2 extends GebSpec { 5 6 @Unroll 7 def "SampleTestCase"() { 8 setup: 9 10 11 expect: 12 if(deleteCookie){ 13 driver.manage().deleteAllCookies() 14 } 15 go requestUrl 16 title == requestTitle 17 18where: 19 deleteCookie | requestUrl || requestTitle
実行結果として、次のような結果が表示されます。
Condition not satisfied: go requestUrl | | | https://delivery.rakuten.co.jp/switch-to-beta/ null
goがnullというのはどういう意味でしょうか?
setupにgoを配置しても同じエラーは出ません。
対処法についてご教示願います。
よろしくお願いいたします。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/05/16 06:26