fix: disambiguate user mail e2e heading

This commit is contained in:
dreamhunter2333
2026-08-23 19:44:35 +08:00
parent 46efabd184
commit ce0f5ef411
+1 -1
View File
@@ -80,7 +80,7 @@ test.describe('User send mail page', () => {
await page.getByRole('button', { name: 'close' }).click();
await page.getByText('Send Mail', { exact: true }).click();
await expect(page.getByRole('heading', { name: 'Compose email', exact: true })).toBeVisible();
await expect(page.locator('.composer-title h2')).toHaveText('Compose email');
const settingsResponse = page.waitForResponse((response) => (
new URL(response.url()).pathname