Update test to check for the correct units toast message (#6505)
This commit is contained in:
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user