golemhq / golem

A complete test automation tool
http://golem-framework.readthedocs.io/
MIT License
489 stars 77 forks source link

Fix for run test in custom directory configured with --golem-dir from GUI #192

Closed ignaciocabeza closed 4 years ago

ignaciocabeza commented 4 years ago

Description

if you have this folder structure:

custom_project/
-- golem_project/
-- Pipfile

And inside Pipfile:

[scripts]
gui="golem --golem-dir ./golem_project gui"

When you run pipenv run gui and you run some test from the gui then an exception is raised:

127.0.0.1 - - [20/Mar/2020 18:09:06] "POST /api/test/run HTTP/1.1" 200 -
Error: ..../custom_project is not an valid Golem test directory; .golem file not found