From dc041a8e179cf5ea1bb1fd107752f6b5f4fbb95f Mon Sep 17 00:00:00 2001 From: Linus Rath <139418639+rathlinus@users.noreply.github.com> Date: Sun, 1 Nov 2026 07:14:48 +0100 Subject: [PATCH] test: expect the fourth message of the mbox in the phone import --- integration/tests/22-ent-import-export.spec.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/integration/tests/22-ent-import-export.spec.ts b/integration/tests/22-ent-import-export.spec.ts index 39628367b..be21a6817 100644 --- a/integration/tests/22-ent-import-export.spec.ts +++ b/integration/tests/22-ent-import-export.spec.ts @@ -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();