mirror of
https://github.com/nasa/openmct.git
synced 2025-01-29 15:43:52 +00:00
relax text assertion to be any number (#5001)
This commit is contained in:
parent
150909d4b9
commit
04d00fac3d
@ -159,7 +159,8 @@ test.describe('Sine Wave Generator', () => {
|
||||
});
|
||||
|
||||
// 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]+/);
|
||||
|
||||
});
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user