Browse Source

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

additional modification requested by Anthony (JPS)
DEV-3241-DEV-3242-corewar
Christopher Fremond 5 months ago committed by GitHub
parent
commit
2d0a9a04c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      js/tests/bring-it-to-life-dom_test.mjs

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

@ -9,12 +9,12 @@ tests.push(async ({ eq, page }) => {
})
})
tests.push(async ({ eq, page }) => {
// tests.push(async ({ eq, page }) => {
// check the class of left eye before the JS is loaded
// await page.setJavaScriptEnabled(false)
// await page.reload()
await eq.$('p#eye-left', { className: 'eye' })
})
// await eq.$('p#eye-left', { className: 'eye' })
// })
tests.push(async ({ eq, page }) => {
// check the class of left eye has been updated after the JS is loaded

Loading…
Cancel
Save