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
{{ message }}
Repository navigation
waitForTimeout at the config level is not being applied #327
i wanted to increase the wait timeout at the config level, so that i don't have to specify wait period at the test case level. i tried to use the waitForTimeout config within protractor helper. However, i still see this picks default 1s instead my value which is 12s.
output which still picks the 1s timeout
1) Dashboard: Dashboard widgets are loaded:
Wait timed out after 1079ms
Scenario Steps:
- I.waitForClickable({"css":".profile .user-info"}) at Test.Scenario.only (tests\frontoffice\dashboard_test.js:12:7)
- I.resizeWindow(1920, 1080) at Object.login (steps_file.js:18:18)
- I.click("Login") at Object.login (steps_file.js:17:18)
- I.fillField("Password", "xx") at Object.login (steps_file.js:16:18)
- I.fillField("Username", "xx") at Object.login (steps_file.js:15:18)
- I.waitForText("11.22", 120) at Object.login (steps_file.js:14:18)
- I.waitForElement("//html[contains(@ng-app,'xxxx')]", 120) at Object.login (steps_file.js:13:18)
- I.amOnPage("https://xxxx") at Object.login (steps_file.js:12:18)
if i am not wrong, your link is for Selenium and i am using protractor helper. As for protractor, waitforTimeout doesn't seems to have any effect. i have also tried scriptsTimeout but that also doesnt seems to make any impact. Further, i dont see any override parameter for protrator. am i write saying that?
Activity
DavertMik commentedon Dec 14, 2016
Sorry it looks like a typo in code:
https://github.com/Codeception/CodeceptJS/blob/master/lib/helper/SeleniumWebdriver.js#L70
could you try the same with
waitforTimeout?shanmohan commentedon Dec 19, 2016
thanks @DavertMik for the response.
if i am not wrong, your link is for Selenium and i am using protractor helper. As for protractor,
waitforTimeoutdoesn't seems to have any effect. i have also triedscriptsTimeoutbut that also doesnt seems to make any impact. Further, i dont see any override parameter for protrator. am i write saying that?shanmohan commentedon Dec 27, 2016
Hello @DavertMik, Is there any update on this issue? Thanks
DavertMik commentedon Jan 13, 2017
Sorry, didn't have a chance to look into it deeply. But I will do it today
DavertMik commentedon Jan 23, 2017
Thanks, this bug should be fixed in 0.4.16.
waitForTimeoutshould now work with Protractor too