Closed goesbysteve closed 6 years ago
I am using node 8.11.1
Seems using gemini test --html-reporter-enabled false
stops the errors but should that be necessary? I just feel I am missing information on how it was intended to run gemini gui alongside gemini test.
hi
it looks like a bug. I'll check it
Thanks @sipayRT
@stevegibbings It would be nice if test/update
and gui
commands work with reports interchangeably. I've dug a little in html-reporter
plugins source code. The plugin implements two different strategies to produce reports. The first one for test/update
and the second one for gui
. Although they are quite similar, they are not quite compatible by implementation.
Thanks @generalov. Does that mean it’s intended that I should use either update/test or gui but not both? I want to use test for automation in GitHub but the gui is nice for devs locally. As I noted above passing an argument on the test command can disable it and I don’t intend on commiting the html reports to git. Currently trying to automate chromedriver and gemini in node anyway as I can’t see a way to combine the chromedriver in an npm script as it never exits. I really like gemini though. Thanks for sharing it.
I’ve noticed a few points in the readme that could do with updating. Mind if I offer a PR for those?
Any progress on this? Why is it closed? I reproduce it on gemini 7.0.1 and html-reporter 3.1.1
Okay, looks like I solved it. Thanks to this issue: https://github.com/gemini-testing/gemini/issues/102 In my case the solution is to move report folder from gemini tests folder.
My issue is not so much how the gemini update/test cycle works but when gemini creates the html reports it seems that a further command causes a critical error that can be solved by deleting the previously created reports.
What is the correct way to run gemini with the gui when the html-reporter plugin is enabled?
Output of
gemini --version
:5.7.1
Contents of
.gemini.yml
file:Test source code:
Command used to run the test:
1.
or
2.
Publically accessible URL of the page you are testing against:
Result:
gemini test
I get a critical errorIf the gemini/gemini-reports is deleted after it was created by
gemini update
then the commandgemini test
succeeds with correct results.gemini gui
I get the same critical error as above which can be solved in the same way by deleting gemini/gemini-reports.Expected behaviour:
In either case the second gemini command works without having to delete the gemini/gemini-reports folders.