Issue with BrowserStack when using browser.reloadSession() - there is always an extra test being executed #13799
-
DescriptionIn order to report every test (therefore:
Using as example a suite called "Login" (therefore: However, out of nowhere a 3rd test starts to run in BrowserStack, and it seems to start and end once the results from previous (and official tests) got updated. You can watch below: wdio.movI would like to know how to prevent this "extra test". Is there anything missing here? Or BrowserStack known issue? Appreciate your help! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
I would not recommend to call |
Beta Was this translation helpful? Give feedback.
-
I created a solution - in
Then I use it in
Reports are working fine in BrowserStack |
Beta Was this translation helpful? Give feedback.
I created a solution - in
wdio.conf
file I added acountItBlocksInFile
that will count how manyit
blocks we have in aspec
fileThen I use it in
beforeSuite
hook. At the same time, I added acounter++
inbeforeTest
hook. So in order to not callreloadSession
after the last test:Reports are working fine in BrowserStack