Browse Source

Update bring-it-to-life-dom_test.mjs

testing the modification of the image
pull/1338/head
Christopher Fremond 2 years ago committed by GitHub
parent
commit
c8e0689e1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      js/tests/bring-it-to-life-dom_test.mjs

1
js/tests/bring-it-to-life-dom_test.mjs

@ -22,6 +22,7 @@ tests.push(async ({ eq, page }) => {
await page.reload() await page.reload()
await eq.$('p#eye-left', { className: 'eye eye-closed' }) await eq.$('p#eye-left', { className: 'eye eye-closed' })
// check the background color of left eye has changed after the JS is loaded // check the background color of left eye has changed after the JS is loaded
const eyeLeftBg = await page.$eval( const eyeLeftBg = await page.$eval(
'#eye-left', '#eye-left',

Loading…
Cancel
Save