class LoginPage extends Page {
static at = { title == "ログイン | 総合旅行サイト DeNAトラベル" }
static content = {
username(wait:true) { $(By.xpath('//input[@name="mailAddress"]'))}
password(wait:true) { $(By.xpath('//input[@name="password"]'))}
}
}
Caught: geb.waiting.WaitTimeoutException: condition did not pass in 20.0 seconds. Failed with exception:
Assertion failed:
title == "繝ュ繧ー繧、繝ウ ?ス? 邱丞粋譌?陦後し繧、繝? DeNA繝医Λ繝吶Ν"
| |
| false
ログイン | 総合旅行サイト DeNAトラベル
geb.waiting.WaitTimeoutException: condition did not pass in 20.0 seconds. Failed with exception:
Assertion failed:
title == "繝ュ繧ー繧、繝ウ ?ス? 邱丞粋譌?陦後し繧、繝? DeNA繝医Λ繝吶Ν"
| |
| false
ログイン | 総合旅行サイト DeNAトラベル
at geb.waiting.Wait.waitFor(Wait.groovy:138)
at geb.waiting.Wait$waitFor.call(Unknown Source)
at geb.Page.verifyThisPageAtOnly(Page.groovy:226)
at geb.Page.verifyAt(Page.groovy:182)
at geb.Page$verifyAt$5.call(Unknown Source)
at geb.Browser.doAt(Browser.groovy:454)
at Dena.HomePageLogin$_run_closure1.doCall(HomePageLogin.groovy:17)
at Dena.HomePageLogin$_run_closure1.doCall(HomePageLogin.groovy)
at geb.Browser.drive(Browser.groovy:1061)
at geb.Browser$drive$0.callStatic(Unknown Source)
at geb.Browser.drive(Browser.groovy:1031)
at geb.Browser$drive.call(Unknown Source)
at Dena.HomePageLogin.run(HomePageLogin.groovy:10)
Caused by: Assertion failed:
title == "繝ュ繧ー繧、繝ウ ?ス? 邱丞粋譌?陦後し繧、繝? DeNA繝医Λ繝吶Ν"
| |
| false
ログイン | 総合旅行サイト DeNAトラベル
at Dena.LoginPage$__clinit__closure1.doCall(HomePageLogin.groovy:36)
at Dena.LoginPage$__clinit__closure1.doCall(HomePageLogin.groovy)
at geb.waiting.Wait.waitFor(Wait.groovy:127)
... 13 more
It is clear that, the title is not read properly.