From: Ian Jackson Date: Fri, 9 Jul 2021 23:21:52 +0000 (+0100) Subject: wdt-bundles: vatikan: Have bob load the game X-Git-Tag: otter-0.7.2~182 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=f88a62edf9e926feadcdea803aae71e2b9dbea3a;p=otter.git wdt-bundles: vatikan: Have bob load the game Signed-off-by: Ian Jackson --- diff --git a/wdriver/wdt-bundles.rs b/wdriver/wdt-bundles.rs index 7caeacf8..42476c0b 100644 --- a/wdriver/wdt-bundles.rs +++ b/wdriver/wdt-bundles.rs @@ -7,6 +7,7 @@ use crate::*; struct Ctx { su: Setup, alice: Window, + bob: Window, } usual_wanted_tests!{Ctx, su} @@ -18,8 +19,8 @@ impl Ctx { } #[throws(Explode)] -fn tests(UsualSetup { su, alice, ..}: UsualSetup) { - let mut c = Ctx { su, alice }; +fn tests(UsualSetup { su, alice, bob, ..}: UsualSetup) { + let mut c = Ctx { su, alice, bob }; test!(c, "bundle", { let test_bundle = c.su.ds.example_bundle(); @@ -96,6 +97,13 @@ fn tests(UsualSetup { su, alice, ..}: UsualSetup) { .did("draw")?; alice.synch()?; } + + { + let mut bob = c.su.w(&c.bob)?; + bob.synch()?; + bob.get(bob.current_url()?)?; + bob.synch()?; + } }); debug!("finishing");