Single-word rule indicators + auto-match select redesign #47
@@ -48,6 +48,7 @@ test('invitations: the lobby shows an invitation and accepting clears it', async
|
||||
await loginLobby(page);
|
||||
await expect(page.getByText('Invitations')).toBeVisible();
|
||||
await expect(page.getByText(/From Kaya/)).toBeVisible();
|
||||
await expect(page.getByText('One word per turn')).toBeVisible(); // the single-word-rule line on the card
|
||||
await page.getByRole('button', { name: /^Accept$/ }).click();
|
||||
await expect(page.getByText(/From Kaya/)).toBeHidden();
|
||||
});
|
||||
|
||||
@@ -57,11 +57,11 @@ export function mockInvitations(): Invitation[] {
|
||||
id: 'inv1',
|
||||
inviter: { accountId: 'kaya', displayName: 'Kaya' },
|
||||
invitees: [{ accountId: ME, displayName: 'You', seat: 1, response: 'pending' }],
|
||||
variant: 'scrabble_en',
|
||||
variant: 'scrabble_ru',
|
||||
turnTimeoutSecs: 86400,
|
||||
hintsAllowed: true,
|
||||
hintsPerPlayer: 1,
|
||||
multipleWordsPerTurn: true,
|
||||
multipleWordsPerTurn: false,
|
||||
dropoutTiles: 'remove',
|
||||
status: 'pending',
|
||||
gameId: '',
|
||||
|
||||
Reference in New Issue
Block a user