WebStorm recognizes Protractor configuration options
If we open our Protractor configuration in WebStorm, it will gray out a few things as "unused", which makes me think it just doesn't recognize the options. For example, getMultiCapabilities
and are onCleanUp
not recognized:
On the other hand, parameters such as onPrepare
, baseUrl
, framework
are recognized WebStorm.
Among other libraries, I have configured angular-protractor-DefinitelyTyped
.
onCleanUp()
was introduced in Protractor 0.17.0, which makes me think not of legacy libraries.
Question:
How do I get WebStorm to understand all of Protractor's configuration options?
Let me know if you need more information.
source to share
From what I understand, it is not possible to teach WebStorm to understand things like onCleanUp
, since it is not "directly" defined within Protractor itself .
source to share