gemini-testing / testplane

Testplane (ex-hermione) browser test runner based on mocha and wdio
https://testplane.io
MIT License
687 stars 62 forks source link

fix(ct): generate url with "runUuid" as pathname #912

Closed DudaGod closed 4 months ago

DudaGod commented 4 months ago

What is done

Component tests use vite, which generates for each request index.html. But in the case of parallel launch of several browsers, a case may arise when the same output is returned to both browsers, although the urls are different by query parameter.

I create an issue to vite - https://github.com/vitejs/vite/issues/16467. As a result I found that vite cached response for each request by pathname (query parameters are not involved). So for now urls modified from http://localhost:4444/?runUuid=12345 to http://localhost:4444/12345. After that, the problem does not reproduce anymore.