thegraphnetwork / EpiGraphHub

Software platform to Gather, transmform, harmonize and store epidemiological data for analytical purposes.
https://epigraphhub.org
GNU General Public License v3.0
8 stars 10 forks source link

[BUG] Chomedriver initializes in different ports, crashing selenium tests on CI #187

Closed luabida closed 1 year ago

luabida commented 1 year ago

Describe the bug

Selenium uses the default Chrome Driver port to run the tests, but chromedriver initializes in another port if this one is in use already. Selenium tests must get the correct chromedriver port in order to run.

To Reproduce

https://github.com/thegraphnetwork/EpiGraphHub/actions/runs/4951358165/jobs/8856724372#step:7:61

Expected behavior

Rather dynamically gets the service port or find a way of initialize the chromedriver by a harcoded port (2nd option will fail if the port is already in use)