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() await millimetersButton.click()
// Look out for the toast message // Look out for the toast message
const toastMessage = page.getByText( const toastMessage = page.getByText('Updated per-file units to mm')
`Set default unit to "mm" for this project`
)
await expect(toastMessage).toBeVisible() await expect(toastMessage).toBeVisible()
// Verify that the popover has closed // Verify that the popover has closed