Vue-test-utils: 'isVisible()' not work

Created on 24 Jan 2019  路  1Comment  路  Source: vuejs/vue-test-utils


Version

1.0.0-beta.28

Steps to reproduce

when use isVisible() asserts a element whether display, the element set display: none; use css instead of inline style,
expect(wrapper.find('.dialog').isVisible()).toBe(false) // true, should be false

What is expected?

isVisible method support css

What is actually happening?

image

>All comments

Hello, your issue has been closed because it does not conform to our issue requirements. In order to ensure every issue provides the necessary information for us to investigate, we require the use of the Issue Helper when creating new issues. Thank you!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jonyoder picture jonyoder  路  3Comments

vwxyutarooo picture vwxyutarooo  路  3Comments

eddyerburgh picture eddyerburgh  路  4Comments

alexanderstudte picture alexanderstudte  路  3Comments

lusarz picture lusarz  路  3Comments