Update test to check for the correct units toast message (#6505)

This commit is contained in:
Jace Browning
2025-04-25 14:19:54 -04:00
committed by GitHub
parent 604e244395
commit a1f31f4348

View File

@ -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