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
When running a test, I get unexpected results on getText(). In this particular example I expect 6 results, but somehow my test is reported as failed after only 2 results have come back. Test example below, as well as logs.
Test results in error:
[chrome #0-0] java.net.SocketException: Connection reset by peer
[chrome #0-0] Error: An unknown server-side error occurred while processing the command.
[chrome #0-0] at elementIdText("0.5538452207450344-20") - getText.js:35:50
This does not happen consistently with the same test, nor does it happen all the time, or even for all getText calls in the test (see example).
if wdio testrunner, running synchronous or asynchronous tests: sync: true
Additional wdio packages used (if applicable):
Details
Please note that the provided test example shows 3 different functions that performs the same action, of which 2 do not cause any problem in this case. Which of the functions fails can not be guessed beforehand as far as we have observed so far. The function using getText() can also fail in a test with only function that uses getText().
The problem
When running a test, I get unexpected results on getText(). In this particular example I expect 6 results, but somehow my test is reported as failed after only 2 results have come back. Test example below, as well as logs.
Test results in error:
This does not happen consistently with the same test, nor does it happen all the time, or even for all getText calls in the test (see example).
Also see: SeleniumHQ/selenium#5096
Environment
Details
Please note that the provided test example shows 3 different functions that performs the same action, of which 2 do not cause any problem in this case. Which of the functions fails can not be guessed beforehand as far as we have observed so far. The function using getText() can also fail in a test with only function that uses getText().
Link to Selenium/WebdriverIO logs
https://gist.github.com/AnnemarieD/b138b3cff0f569683a0467c8970b262e
Code To Reproduce Issue [ Good To Have ]
https://gist.github.com/AnnemarieD/b138b3cff0f569683a0467c8970b262e
other example can be found here: https://gitter.im/webdriverio/webdriverio/archives/2017/11/21
The text was updated successfully, but these errors were encountered: