Browse Source

keycodes-symphony: fix test which was checking property `background` instead of `background-color`

pull/761/head
Marie Malarme 3 years ago committed by Clément
parent
commit
55a8fc520e
  1. 2
      dom/keycodes-symphony_test.js

2
dom/keycodes-symphony_test.js

@ -46,7 +46,7 @@ tests.push(async ({ page, eq }) => {
} }
const getNotesBg = await page.$$eval('.note', (nodes) => { const getNotesBg = await page.$$eval('.note', (nodes) => {
return nodes.map((note) => note.style.background) return nodes.map((note) => note.style.backgroundColor)
}) })
const colors = [...new Set(getNotesBg)] const colors = [...new Set(getNotesBg)]

Loading…
Cancel
Save