mirror of
https://github.com/nasa/openmct.git
synced 2025-06-16 06:08:11 +00:00
relax text assertion to be any number (#5001)
This commit is contained in:
@ -159,7 +159,8 @@ test.describe('Sine Wave Generator', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Verify that where we click on canvas shows the number we clicked on
|
// Verify that where we click on canvas shows the number we clicked on
|
||||||
await expect(page.locator('.value-to-display-nearestValue')).toContainText('0.00');
|
// Note that any number will do, we just care that a number exists
|
||||||
|
await expect(page.locator('.value-to-display-nearestValue')).toContainText(/[+-]?([0-9]*[.])?[0-9]+/);
|
||||||
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user