Igor Bari
Igor Bari
Thanks for reporting this. I think the issue here that the client is not yet ready after ``` const { client } = require('nightwatch-cucumber'); ``` statement. Can you retry the...
Thanks @anatoliyarkhipov for the tip! Will add this
Hi @slashsorin! Sorry I don't have ETA :) A pull request would be very welcome :)
Can someone investigate this? A pull request is welcomed.
My suggestion to use async await ``` Then(/blah/, async () => { let cookies; await client.getCookies(({ value }) => { cookies = value }); console.log(cookies); }) ```
Let me share my motivation behind adding it to core API. (Also added to the summary section): - Most of developers would not know about it's existence if it's not...
I have to agree. I think no response is the biggest killer of open source collaboration. It really demotivates from any future contributions.
```js createRenderRoot() { if (document.head.querySelector(`style[data-tagname="${this.tagName}"]`)) { return this; } const style = document.createElement("style"); style.innerHTML = this.constructor.elementStyles; style.setAttribute("data-tagname", this.tagName); document.head.append(style); return this; } ``` solved the problem for me. But fully...
I think the point is to use it with `redux-promise`. Similar technic is used in F8 app by Facebook. See https://github.com/fbsamples/f8app/blob/master/js/actions/login.js#L80 This package is included in F8 here: https://github.com/fbsamples/f8app/blob/master/js/store/array.js
Ok but then what is the point for the https://github.com/fbsamples/f8app/blob/master/js/store/array.js file? After every promise is resolved wrapped in `Promise.all` we will get an array of actions. Redux cannot handle that....