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:

enter image description here enter image description here

On the other hand, parameters such as onPrepare

, baseUrl

, framework

are recognized WebStorm.

Among other libraries, I have configured angular-protractor-DefinitelyTyped

.

For example,

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.

+3


source to share


1 answer


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 .



0


source







All Articles