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

This commit is contained in:
Marie Malarme 2021-03-10 11:11:34 +00:00 committed by Clément
parent 472dc4c417
commit 55a8fc520e
1 changed files with 1 additions and 1 deletions

View File

@ -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)]