dimanche 21 juin 2020

[behave][selenium][python] Connection error after running one feature in Pycharm

I'm trying to run a test project with 2 features so far. I've tried the following ways:

behave "./tests/features/one.feature" "./tests/features/two.feature"
behave "./tests/features/*.feature" 
behave "./tests/features" 

but each time I'm getting the same result: one feature (whichever is the first) gets executed perfectly fine but the second results in:

Failed to establish a new connection: [Errno 61] Connection refused

I've also tried setting up an .ini file, but this solution didn't work as well. Running those features separately (one feature in a run) works also fine so clearly running multiple features is an issue.

Does anyone have an idea what might be the issue?

Aucun commentaire:

Enregistrer un commentaire