diff --git a/e2e/tests/plugins/imagery/exampleImagery.e2e.spec.js b/e2e/tests/plugins/imagery/exampleImagery.e2e.spec.js index 0a570e5c2a..ee98840fe7 100644 --- a/e2e/tests/plugins/imagery/exampleImagery.e2e.spec.js +++ b/e2e/tests/plugins/imagery/exampleImagery.e2e.spec.js @@ -249,10 +249,8 @@ test('Example Imagery in Display layout', async ({ page }) => { await page.click('text=Example Imagery'); // Clear and set Image load delay to minimum value - // FIXME: Update the value to 5000 ms when this bug is fixed. - // See: https://github.com/nasa/openmct/issues/5265 await page.locator('input[type="number"]').fill(''); - await page.locator('input[type="number"]').fill('0'); + await page.locator('input[type="number"]').fill('5000'); // Click text=OK await Promise.all([ diff --git a/example/imagery/plugin.js b/example/imagery/plugin.js index 47d6f4ef70..dfb77e4918 100644 --- a/example/imagery/plugin.js +++ b/example/imagery/plugin.js @@ -168,7 +168,7 @@ function getImageUrlListFromConfig(configuration) { } function getImageLoadDelay(domainObject) { - const imageLoadDelay = domainObject.configuration.imageLoadDelayInMilliSeconds; + const imageLoadDelay = Math.trunc(Number(domainObject.configuration.imageLoadDelayInMilliSeconds)); if (!imageLoadDelay) { openmctInstance.objects.mutate(domainObject, 'configuration.imageLoadDelayInMilliSeconds', DEFAULT_IMAGE_LOAD_DELAY_IN_MILISECONDS);