hifive / hifive-pitalium

Libraries for supporting regression test
http://www.htmlhifive.com/
Apache License 2.0
34 stars 9 forks source link

Can not see any the screenshots on macos #181

Closed Haro10 closed 6 years ago

Haro10 commented 6 years ago

Hi guys,

I follow the guide in the link: https://www.htmlhifive.com/conts/web/view/pitalium-tutorial/test-basic-run

But I can not see any screenshots in the test result folder. Please help me!!! Thank you so much.

2018-07-20 15 52 44
Haro10 commented 6 years ago

I also can not see the currentExpectedIds.json from the hifive-pitalium folder that downloaded by git commands.

meganetaaan commented 6 years ago

Hi. Thank you for trying Pitalium! Could you give me information below?

Also I will confirm if the tutorial document has any flaw. Are you reading the English version of the doc?

Haro10 commented 6 years ago

Hi, thank you so much for your kind.

I am reading the English version.

I got struggle to deal with MacOs due to the fact that the doc is wirte for windows. Do you have any doc for MacOs?

I have attached the files you asked here Files.zip. Please help me to check it.

Thank you so much!

meganetaaan commented 6 years ago

Sorry we don't have MacOS version. I'm glad if you tell me which part of doc was confusing.

I've checked your configuration files. In environmenConfig.json, I saw execMode property is set to "RUN_TEST" mode. But you should set it to "SET_EXPECTED" to collect screenshots as the expected(correct answer) image of the view in your first try. If you run test in RUN_TEST mode without expected images then all the assertView fail.

meganetaaan commented 6 years ago

@Haro10 Hi, Did my suggestion solve the problem?

Haro10 commented 6 years ago

Hi! Sorry for replying late. I have resolved it. I don't know exactly how I fixed it, but it luckily was fixed.

If I have more information, I will contact you!

Thanks for your kind!

meganetaaan commented 6 years ago

Got it. I'll close this issue. If you find another problem, don't hesitate to reopen it. Thank you!