mirror of
https://github.com/Elvanos/fantasia-archive.git
synced 2024-05-18 19:23:05 +12:00
13 lines
369 B
TypeScript
13 lines
369 B
TypeScript
import ColorAssertionsComponent from '../color-assertions.vue'
|
|
|
|
describe('color assertions', () => {
|
|
it('works with names, hex codes and CSS variables', () => {
|
|
cy.mount(ColorAssertionsComponent)
|
|
|
|
cy.get('.wrapper')
|
|
.should('have.color', 'var(--q-primary)')
|
|
.and('have.backgroundColor', 'black')
|
|
.and('have.backgroundColor', '#000')
|
|
})
|
|
})
|