Tor Lillqvist
Tor Lillqvist
No, for some reason the JavaScript console is blank when I attach to the Online Editor from Safari on a Mac. Changing the assert() to code that does a sleep(200)...
Nah, this is the wrong way.
Or wait, maybe this is useful anyway.
Nope, this is pointless now with upcoming changes.
In this: ```+ var serial = parseInt(e.textMsg.substr(13)); + console.assert(this._sleepFn, 'sleep fn is not set!'); + this._sleepFn(this._sleepSerial == serial); + this._sleepFn = undefined; + return; ``` Shouldn't the sleepFn be set...
Here is my work in progress. After changing those added cy.log() calls to console.log() and adding some more, I finally notice that win.app does not exist in that added fastWait()...
I tried changing the `cy.window().then((win) => { ... }` in the fastWait function to `cy.window().then(function(win) { ... }` which is the form used in other places, but did not help....
But apparently those two things mean the same anyway?
I see in git commit messages and in the code mentions of the concept of something being "detached". Is that what having "different JS VMs" for different parts of the...
I tried for instance moving those fastWait() calls into the function passed to the then() call in the function passed to the cy.waitUntil() call in waitUntilIdle(), just randomly hoping that...