Arquisoft / viade_en2b

Viade en2b
MIT License
6 stars 7 forks source link

Cucumber tests not starting #195

Closed UO264345 closed 4 years ago

UO264345 commented 4 years ago

Bug description

Cucumber tests running in the browser end up in a timeout due to the application not starting fast enough. As of now, it is not known if the problem is the application taking too much time to start, the default timeout of Jest's configuration, or a badly implemented test.

Files related with the problem (branch e2e_login)

pglez82 commented 4 years ago

I have solved the timeout. Now you have to fix the test. The solution is in this commit eb5dc88.

I found the solution here

The exact error message was in the console when launching the tests. Let me know if it works for you.

UO264345 commented 4 years ago

Thank you very much. I also had to add another timeout because a Navigation Timeout error was being raised, but the tests are now running.

pglez82 commented 4 years ago

Great! I am glad that its solved. Just one extra thing. I am linking to an issue in group en2a that can help you debug your e2e tests. I didn't want to write this here again.

UO264345 commented 4 years ago

Sure, thank you!