chiark / gitweb /
wdt: conflict test, further wip
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 28 Jan 2021 18:09:09 +0000 (18:09 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 29 Jan 2021 23:54:33 +0000 (23:54 +0000)
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 <ijackson@chiark.greenend.org.uk>
wdriver/wdt-simple.rs

index ae15f837752039280d2f3c92cd76ae1da1e582b6..e71423f60069edcee3542e2f618906c499959286 100644 (file)
@@ -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")?;