Open albion9919 opened 2 months ago
Hey!
We don't have invisibleElements
option. We have ignoreElements
and it's present in typings. You might be referring to https://github.com/ruslanxdev/hermione-assert-view-extended package which does have this option, but it's not ours and we don't support it.
If Testplane's built-in ignoreElements
option doesn't fit your use-case and you need invisibleElements
specifically you can describe your use-case and we can consider implementing this as a feature request.
Verify latest release
Hermione version
testplane@8.19.6
Last Hermione version that worked
hermione@8.9.6
Which area(s) of Hermione are affected? (leave empty if unsure)
No response
Link to the code that reproduces this issue or a replay of the bug
NDA
Reproduction steps
install testplane with typescript and try
await this.browser.assertView('..., '...', { ... invisibleElements: ['...'], });
Actual Behavior
After migrating from hermione@8 to tesplane faced some problem with typings:
Typescript shows, that invisibleElements is not defined on assertView
But tesplane works line invisibleElements are used.
We create patch for typings:
1) Is it really bug in typings ? 2) can you fix this ❤️ ?
Expected Behavior
No typing error
Which Node.js version are you using?
20.11.0