Support Advanced expansion auction gifts
Verify and publish checkpoint container / container (push) Successful in 11m23s
Verify and publish checkpoint container / container (push) Successful in 11m23s
This commit is contained in:
1 parent
51c48e371b
commit
28700389dc
14 files changed
+840
-15
No files matched your search
@@ -30,3 +30,12 @@ void test('ordinary auction keeps its original buyer-payment guidance', () => {
|
||||
assert.match(html, /Your ally chooses how to pay after the gift’s Karama response/);
|
||||
assert.doesNotMatch(html, /Continue settles the Richese sale/);
|
||||
});
|
||||
|
||||
void test('a live ally-funding guide remains actionable before the sale continues', () => {
|
||||
const game = view('richese');
|
||||
game.pledgePromiseGuide = {action:{type:'pledgeAid',amount:4}};
|
||||
const html = render(game);
|
||||
assert.match(html, /Set your promised ally funding before this purchase can close Bidding/);
|
||||
assert.match(html, /<button\b(?![^>]*disabled)[^>]*>Set required ally funding<\/button>/);
|
||||
assert.match(html, /<button\b[^>]*disabled=""[^>]*>Continue to payment<\/button>/);
|
||||
});
|
||||
Reference in new issue
Block a user