From: Ian Jackson Date: Sun, 10 Jan 2021 20:43:53 +0000 (+0000) Subject: wdt: Check that the penltima game loads X-Git-Tag: otter-0.3.0~124 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=8a95283cdc5ec30ddfdafe277537b6f2a106df46;p=otter.git wdt: Check that the penltima game loads Currently, adding pieces produces client errors, so we must ignore them. Signed-off-by: Ian Jackson --- diff --git a/wdriver/wdt-altergame.rs b/wdriver/wdt-altergame.rs index a225bbff..f12c2e91 100644 --- a/wdriver/wdt-altergame.rs +++ b/wdriver/wdt-altergame.rs @@ -78,5 +78,12 @@ fn main(){ c.test_link(LinkKind::Info, "Info", "https://www.example.org/newinfo")?; c.test_remove_link(LinkKind::Info, "Info")?; + { + let game_spec = &c.su.ds.subst("@specs@/penultima.game.toml")?; + let mut alice = c.su.w(&c.alice)?; + alice.otter(&["reset"],&[&game_spec])?; + alice.synch_ignore_js_errors()?; + } + info!("ok"); }