fix: clarify user sent box naming

This commit is contained in:
dreamhunter2333
2026-08-23 20:16:55 +08:00
parent e37c851e12
commit 21c5390723
8 changed files with 18 additions and 17 deletions
+2 -1
View File
@@ -116,7 +116,8 @@ test.describe('User send mail page', () => {
expect((await sendboxResponse).ok()).toBe(true);
await expect(page.locator('.n-tabs-tab--active')).toHaveText('Sent');
await expect(page.getByText(subject, { exact: true })).toBeVisible({ timeout: 15_000 });
await expect(page.locator('.n-thing-header__title').filter({ hasText: subject }))
.toHaveText(subject, { timeout: 15_000 });
} finally {
try {
await Promise.allSettled(addresses.map((address) => deleteAddress(request, address.jwt)));