-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chrome and %5С #27
Comments
Привет. Подскажи пожалуйста, какая у тебя версия html-reporter-а? Как временное решение - откатись на предыдущую версию. |
версия 1.0.0 |
I believe I have the same problem. I think it is caused by windows using backslashes. I wonder if you just encode the image path that would fix it. |
html-reporter@2.5.0 проблема с путями в chrome по прежнему актуальна. Как можно решить? |
Any update on this issue? |
Instead of returning just pathToImage at createpath() on lib/server-utils.js I did pathtoImage.replace(/\/g,''). Is it a good Idea? seems like the path module is causing the backslash. |
I found workaround for this issue. I have set path property to empty string:
|
it problem in logic in server-utils when author uses lib "path", lib generate path depends of OS. it`s necessery for server usage, but it's wrong for client usage. Paths generated on window don't work on client the generated path uses on clinet in background. for client path you math replace path.join components.reduce((createdPath, component) => |
I am also experiencing this issue using |
Allow correct urls to be generated for images in the report on windows. Fixes gemini-testing#27
I've made a rough tampermonkey script for showing the screenshots, hope this helps.
|
Добрый день! Не отображаются скриншоты в отчёте в браузере chrome: в url обратный слеш заменяется на %5C.
![html-report](https://user-images.githubusercontent.com/16813236/33591985-83ac9f40-d9aa-11e7-8b7e-2109d54baaf9.jpg)
p.s.: корректно работает только в firefox.
The text was updated successfully, but these errors were encountered: