You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm now using Protractor solely in the new async await style. My suggestion for the above is to not do the thing with the set. It seems quite un-idiomatic to me, that calling set causes a side effect on a remote system. I suggest naming the method in a way that suggests what it is doing.
Hi there!
As I know due to 2969 the PROMISE_MANAGER will be deprecated, and so protractor will not use it at all.
Currently, I'm using setter to fill web-elements in page-objects, like:
And use it inside test case:
Which has a good laconic style, instead of usage of methods.
But if PROMISE_MANAGER = off I need to use async/await statements, which are not allowed within setter. So, I can't use such approach.
Does protractor has some workaround for this example?
Thank you.
Feature Request
The text was updated successfully, but these errors were encountered: