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
Both wait() and waitFor() are hanging the tests for me. I am using the canary builds and tried both chrome and phantomjs.
Here is my test for waitFor():
'test': function(test){test.open('http://www.example.com')waitFor(function(){returntrue;}).waitForElement('.desktop-page').assert.visible('.desktop-page','main page element is displayed').assert.text('.desktop-page','Welcome.','has page text').done();}
The output for this is
$ dalek dalek/desktop.js -b chrome -l 5
Running tests
☁ [SYSTEM] dalek-internal-driver: Loading driver: "native"
☁ [SYSTEM] dalek-browser-chrome: Started ChromeDriver
Running Browser: Google Chrome
☁ [WEBDRIVER] webdriver: 303 POST /wd/hub/session
☁ [WEBDRIVER] webdriver:
☁ [WEBDRIVER] webdriver: 200 POST /wd/hub/session/0dd0896e30367855c2dff3812ab109dc/window/current/size
☁ [WEBDRIVER] webdriver: {"sessionId":"0dd0896e30367855c2dff3812ab109dc","status":0,"value":null}
☁ [WEBDRIVER] webdriver: 200 GET /wd/hub/status
☁ [WEBDRIVER] webdriver: {"sessionId":"","status":0,"value":{"build":{"version":"alpha"},"os":{"arch":"x86_64","name":"Mac OS X","version":"10.8.5"}}}
OS: Mac OS X 10.8.5 x86_64
☁ [WEBDRIVER] webdriver: 200 GET /wd/hub/session/0dd0896e30367855c2dff3812ab109dc
☁ [WEBDRIVER] webdriver: {"sessionId":"0dd0896e30367855c2dff3812ab109dc","status":0,"value":{"acceptSslCerts":true,"applicationCacheEnabled":false,"browserConnectionEnabled":false,"browserName":"chrome","chrome":{"chromedriverVersion":"2.3"},"cssSelectorsEnabled":true,"databaseEnabled":true,"handlesAlerts":true,"javascriptEnabled":true,"locationContextEnabled":true,"nativeEvents":true,"platform":"Mac OS X","rotatable":false,"takesScreenshot":true,"version":"30.0.1599.69","webStorageEnabled":true}}
Browser Version: 30.0.1599.69
>> WARNING: done not called!
RUNNING TEST - "test"
☁ [WEBDRIVER] webdriver: 200 POST /wd/hub/session/0dd0896e30367855c2dff3812ab109dc/url
☁ [WEBDRIVER] webdriver: {"sessionId":"0dd0896e30367855c2dff3812ab109dc","status":0,"value":null}
▶ OPEN http://www.example.com
✔ 0 Assertions run
✔ TEST - "test" SUCCEEDED
It just hangs there.
This is the test for the wait() method:
'test': function(test){test.open('http://www.example.com').execute(function(){vara=1+2;returntrue;}).waitForElement('.desktop-page').assert.visible('.desktop-page','main page element is displayed').assert.text('.desktop-page','Welcome.','has page text').done();}
The output for this is:
$ dalek dalek/desktop.js -b chrome -l 5
Running tests
☁ [SYSTEM] dalek-internal-driver: Loading driver: "native"
☁ [SYSTEM] dalek-browser-chrome: Started ChromeDriver
Running Browser: Google Chrome
☁ [WEBDRIVER] webdriver: 303 POST /wd/hub/session
☁ [WEBDRIVER] webdriver:
☁ [WEBDRIVER] webdriver: 200 POST /wd/hub/session/339b34ea7553d302603101be54dc2601/window/current/size
☁ [WEBDRIVER] webdriver: {"sessionId":"339b34ea7553d302603101be54dc2601","status":0,"value":null}
☁ [WEBDRIVER] webdriver: 200 GET /wd/hub/status
☁ [WEBDRIVER] webdriver: {"sessionId":"","status":0,"value":{"build":{"version":"alpha"},"os":{"arch":"x86_64","name":"Mac OS X","version":"10.8.5"}}}
OS: Mac OS X 10.8.5 x86_64
☁ [WEBDRIVER] webdriver: 200 GET /wd/hub/session/339b34ea7553d302603101be54dc2601
☁ [WEBDRIVER] webdriver: {"sessionId":"339b34ea7553d302603101be54dc2601","status":0,"value":{"acceptSslCerts":true,"applicationCacheEnabled":false,"browserConnectionEnabled":false,"browserName":"chrome","chrome":{"chromedriverVersion":"2.3"},"cssSelectorsEnabled":true,"databaseEnabled":true,"handlesAlerts":true,"javascriptEnabled":true,"locationContextEnabled":true,"nativeEvents":true,"platform":"Mac OS X","rotatable":false,"takesScreenshot":true,"version":"30.0.1599.69","webStorageEnabled":true}}
Browser Version: 30.0.1599.69
RUNNING TEST - "test"
☁ [WEBDRIVER] webdriver: 200 POST /wd/hub/session/339b34ea7553d302603101be54dc2601/url
☁ [WEBDRIVER] webdriver: {"sessionId":"339b34ea7553d302603101be54dc2601","status":0,"value":null}
▶ OPEN http://www.example.com
☁ [WEBDRIVER] webdriver: 200 POST /wd/hub/session/339b34ea7553d302603101be54dc2601/execute
☁ [WEBDRIVER] webdriver: {"sessionId":"339b34ea7553d302603101be54dc2601","status":13,"value":{"message":"unknown error: __SCRIPT is not defined\n (Session info: chrome=30.0.1599.69)\n (Driver info: chromedriver=2.3,platform=Mac OS X 10.8.5 x86_64)"}}
It just hangs there (but at least with this case, there is an error in the system log).
The text was updated successfully, but these errors were encountered:
My waitFor test hangs too. I am using dalekjs cli v 0.0.4 and dalekjs local 0.0.8.
Tried with chrome and phantomjs and just stays there, nothing happen unless I brake the script manually.
Both wait() and waitFor() are hanging the tests for me. I am using the canary builds and tried both chrome and phantomjs.
Here is my test for waitFor():
The output for this is
It just hangs there.
This is the test for the wait() method:
The output for this is:
It just hangs there (but at least with this case, there is an error in the system log).
The text was updated successfully, but these errors were encountered: