diff --git a/e2e/playwright/various.spec.ts b/e2e/playwright/various.spec.ts index 6465b61bb..a4992906e 100644 --- a/e2e/playwright/various.spec.ts +++ b/e2e/playwright/various.spec.ts @@ -19,9 +19,7 @@ test('Units menu', async ({ page, homePage }) => { await millimetersButton.click() // Look out for the toast message - const toastMessage = page.getByText( - `Set default unit to "mm" for this project` - ) + const toastMessage = page.getByText('Updated per-file units to mm') await expect(toastMessage).toBeVisible() // Verify that the popover has closed