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 am trying to run my testcase using the default waitForTimeout Value. But when i use selenoid plugin as well, the waitForTimeout value is not getting used and my test are getting failed within milliseconds.
Below are my observation because of which the issue could have been occured:
Whenever the _setConfig method is called, waitForTimeout value is getting divided by 1000. because of which whatever is the initial value passed in the codecept.conf.js file, gets decreased before every test execution.
What do you get instead?
Not able to use selenoid plugin along with waitForTimeout.
Provide console output if related. Use --verbose mode for more details.
-- FAILURES:
1) Selenoid
Selenoid Plugin Test:
element (//a[@class='Header-link']) still not visible after 0.00001 sec
Scenario Steps:
- I.waitForVisible("//a[@class='Header-link']") at Test.<anonymous> (selenoidIssue_test.js:5:7)
- I.amOnPage("https://github.com") at Test.<anonymous> (selenoidIssue_test.js:4:7)
What are you trying to achieve?
I am trying to run my testcase using the default waitForTimeout Value. But when i use selenoid plugin as well, the waitForTimeout value is not getting used and my test are getting failed within milliseconds.
Below are my observation because of which the issue could have been occured:
https://github.com/codeceptjs/CodeceptJS/blob/master/lib/plugin/selenoid.js#L340
https://github.com/codeceptjs/CodeceptJS/blob/master/lib/plugin/selenoid.js#L352
Whenever the _setConfig method is called, waitForTimeout value is getting divided by 1000. because of which whatever is the initial value passed in the codecept.conf.js file, gets decreased before every test execution.
What do you get instead?
Not able to use selenoid plugin along with waitForTimeout.
Details
The text was updated successfully, but these errors were encountered: