chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c578ba
)
wdt-bundles: hidden: Have alice reselect a card just played
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 10 Jul 2021 18:08:11 +0000
(19:08 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 10 Jul 2021 18:26:28 +0000
(19:26 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
wdriver/wdt-bundles.rs
patch
|
blob
|
history
diff --git
a/wdriver/wdt-bundles.rs
b/wdriver/wdt-bundles.rs
index b5341cc9e47d2ff9166d8123d7efbddf265dcf08..2bc55efb8b935842967bf1c7f88fae98d5f6aafa 100644
(file)
--- a/
wdriver/wdt-bundles.rs
+++ b/
wdriver/wdt-bundles.rs
@@
-110,7
+110,6
@@
fn tests(UsualSetup { su, alice, bob, ..}: UsualSetup) {
{
let mut alice = c.su.w(&c.alice)?;
-
let cardsg = Pos::new(80,100);
alice.action_chain()
@@
-126,6
+125,19
@@
fn tests(UsualSetup { su, alice, bob, ..}: UsualSetup) {
.did("play")?;
alice.synch()?;
+ drop(alice);
+ let mut alice = c.su.w(&c.alice)?;
+
+ alice.action_chain()
+ .move_w(&alice, cardsg)?
+ .click().release()
+ .move_w(&alice, deckg)?
+ .move_w(&alice, cardsg)?
+ .click().release()
+ .perform()
+ .did("select played")?;
+ alice.synch()?;
+
}
});