From 75bc4d0d542ca42a691de89d5d90ee29e96eb541 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 28 Jan 2021 18:09:09 +0000 Subject: [PATCH] wdt: conflict test, further wip Not a complete test yet. There are bugs to fix here. In particular, right now, it seems that both clients get a conflict ? Signed-off-by: Ian Jackson --- wdriver/wdt-simple.rs | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/wdriver/wdt-simple.rs b/wdriver/wdt-simple.rs index ae15f837..e71423f6 100644 --- a/wdriver/wdt-simple.rs +++ b/wdriver/wdt-simple.rs @@ -207,13 +207,12 @@ impl Ctx { // xxx why has neither actually moved it w.action_chain() .move_w(&w, side.start)? - // .click() // xxx both show up as not held even with these - // .release() // two lines uncommened + .click() + .release() -// .click_and_hold() -// .move_w(&w, side.try_end)? -// .release() -.click() + .click_and_hold() + .move_w(&w, side.try_end)? + .release() .perform() .context("conflicting drag")?; -- 2.30.2