Allow Distrans between completed auction bids
Verify and publish checkpoint container / container (push) Successful in 10m44s
Verify and publish checkpoint container / container (push) Successful in 10m44s
This commit is contained in:
1 parent
ab7a947833
commit
ccc4c7bb40
16 files changed
+250
-80
No files matched your search
@@ -38,8 +38,8 @@ for (const advanced of [false, true]) for (const method of ['onceAround', 'silen
|
||||
assert.ok(given);
|
||||
const html = markup(view);
|
||||
assert.doesNotMatch(transferButton(html), /\sdisabled=/);
|
||||
assert.match(html, /ordinary, Once Around or normal Black Market lot/);
|
||||
assert.match(html, /first sealed submission in a Silent lot/);
|
||||
assert.match(html, /ordinary, Once Around, Silent or normal Black Market lot/);
|
||||
assert.match(html, /between completed bid actions/);
|
||||
|
||||
// Stateful selectors render above; exercise the real action leaf with the
|
||||
// exact entitled recipient/card choice from the native engine projection.
|
||||
@@ -67,8 +67,8 @@ for (const advanced of [false, true]) for (const method of ['onceAround', 'silen
|
||||
lot.order.find(id => lot.eligible.includes(id) && !Object.hasOwn(lot.sealed, id))!;
|
||||
const started = actDistransPrebid(before, actor, { type: 'richeseBid', event: lot.event,
|
||||
amount: method === 'onceAround' ? null : 0, allyPayment: 0 });
|
||||
const blocked = viewGame(started, f.holder);
|
||||
assert.ok(blocked.distrans?.blocked);
|
||||
assert.match(transferButton(markup(blocked)), /\sdisabled=/);
|
||||
const guarded = viewGame(started, f.holder);
|
||||
assert.match(guarded.distrans!.blocked!, /Semuta preview/);
|
||||
assert.match(transferButton(markup(guarded)), /\sdisabled=/);
|
||||
});
|
||||
}
|
||||
Reference in new issue
Block a user