-
-
Notifications
You must be signed in to change notification settings - Fork 79
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
Report CSS breaks with snippet highlight endpoint #400
Comments
Hey @camilamaia , When I runned scanapi using the scanapi-400 branch, I receive a HTML code as response. Something changed? Thanks |
@hebertjulio 🤔 Which browser are you using? |
I tested it here again with
and they all have the same behavior I described before. Would you mind downloading directly this file and trying to open it? https://github.com/scanapi/examples/blob/scanapi-400/demo-api/scanapi-report.html to see what happens. |
@camilamaia I am using firefox 89.0.2 (64-bit). I think this is related to the body of response or render of report. I running again and get same result, I can not reproduce it. 🤔 P.S. When I open your report file I can see CSS breaks. |
@hebertjulio weird.... which ScanAPI version and Python version are you using? Here is my setup:
Let me try to upgrade Python and see what happens |
With |
@hebertjulio one idea would be to compare the source code of the two different reports and see what are the differences. |
I am running.
With Python 3.6.10, I had been issues with pip and poetry. 😢 |
I running again with Python 3.6.10 and take same result. This happen only on iOS? 🤔 |
Hmmmm, maybe! @barbosa can you give us a hand here? I think you are the only one besides me that is also using macOS. Would you mind trying to reproduce the error, please? Instructions are in the issue description. |
Oh, @astenstrasser also uses mac! Can you give us some help here, please? 😇 |
Hey @camilamaia - not sure if I understand what is broken. Is it the background that was supposed to be grey but it is white instead? |
Yes, exactly. When you run locally, how is the background for you? And also, the content of the highlight response is an html code or is it the code block rendered? Is it like this? or like that? |
Bug report
Environment
Description of the bug
Report CSS breaks when ScanAPI hits snippet highlight endpoint from Demo API.
Expected behavior ?
The report should look like this:
but showing the snippets highlight endpoint too.
How to reproduce the bug ?
The text was updated successfully, but these errors were encountered: