mirror of
https://github.com/bulwarkmail/webmail.git
synced 2026-11-02 00:14:23 +00:00
test: expect the fourth message of the mbox in the phone import
This commit is contained in:
@@ -431,7 +431,8 @@ test('import and export dialogs fill the screen at 390 px and import from Settin
|
||||
await expect(dialog.getByRole('heading', { name: 'Import finished' })).toBeVisible({ timeout: 60_000 });
|
||||
await expect.poll(async () => (await dialog.boundingBox())?.width ?? 0).toBeGreaterThanOrEqual(389);
|
||||
await shot(page, 'c-import-phone-summary');
|
||||
expect(await messagesIn(target)).toHaveLength(3);
|
||||
// Four messages; the one Thunderbird marked deleted stays out.
|
||||
expect(await messagesIn(target)).toHaveLength(4);
|
||||
await page.getByRole('button', { name: 'Close' }).last().click();
|
||||
|
||||
await page.getByTestId('settings-mail-export').click();
|
||||
|
||||
Reference in New Issue
Block a user