From c8e0689e1ab8d9c530880ec7db5cddf122af18c8 Mon Sep 17 00:00:00 2001 From: Christopher Fremond <34804391+Frenchris@users.noreply.github.com> Date: Tue, 19 Jul 2022 17:16:21 +0100 Subject: [PATCH] Update bring-it-to-life-dom_test.mjs testing the modification of the image --- js/tests/bring-it-to-life-dom_test.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/js/tests/bring-it-to-life-dom_test.mjs b/js/tests/bring-it-to-life-dom_test.mjs index 5d85eb95..1f119d14 100644 --- a/js/tests/bring-it-to-life-dom_test.mjs +++ b/js/tests/bring-it-to-life-dom_test.mjs @@ -22,6 +22,7 @@ tests.push(async ({ eq, page }) => { await page.reload() await eq.$('p#eye-left', { className: 'eye eye-closed' }) + // check the background color of left eye has changed after the JS is loaded const eyeLeftBg = await page.$eval( '#eye-left',