From: Ian Jackson Date: Sun, 4 Apr 2021 23:15:09 +0000 (+0100) Subject: wdt-hand: Fix new test to actually fail X-Git-Tag: otter-0.5.0~190 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=2409c87aa91368961a8965887420045d307caade;p=otter.git wdt-hand: Fix new test to actually fail Well. It seems that if you have done click_and_hold in one window, you can't do click in another. OK fine whatever. Signed-off-by: Ian Jackson --- diff --git a/wdriver/wdt-hand.rs b/wdriver/wdt-hand.rs index abeb47d6..6616d037 100644 --- a/wdriver/wdt-hand.rs +++ b/wdriver/wdt-hand.rs @@ -148,8 +148,13 @@ impl Ctx { w.action_chain() .move_pc(&w, P_ALICE)? + .click() + .release() + .click_and_hold() .move_w(&w, DEST)? + .release() + .perform() .did("alice, drag pawn over target")?; w.synch()?; @@ -172,6 +177,8 @@ impl Ctx { let mut w = su.w(&self.alice)?; w.action_chain() + .move_pc(&w, P_ALICE)? + .click() .release() .perform() .did("alice, drop pawn on target")?;