mirror of https://github.com/01-edu/public.git
keycodes-symphony: fix test which was checking property `background` instead of `background-color`
This commit is contained in:
parent
472dc4c417
commit
55a8fc520e
|
@ -46,7 +46,7 @@ tests.push(async ({ page, eq }) => {
|
|||
}
|
||||
|
||||
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)]
|
||||
|
|
Loading…
Reference in New Issue