Skip to content
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

the screenshot is not showed #223

Open
pduyet opened this issue Jun 19, 2023 · 3 comments
Open

the screenshot is not showed #223

pduyet opened this issue Jun 19, 2023 · 3 comments
Labels
waiting for answer Waiting for user's answer

Comments

@pduyet
Copy link

pduyet commented Jun 19, 2023

I run test and use API to send reports to allure docker service. but the screenshot cannot show
image
on my local, the report generate by allure serve still appears the screenshot

@victor-wang-anz
Copy link

victor-wang-anz commented Jun 27, 2023

hey @pduyet , we have a same problem here.
according to the swagger spec, each file in the allure-results folder must be converted to a base64 for string.
I am wondering if this rule also applies to the screenshot.png file?

@fescobar is it something possible or we cannot upload png images through the send result api?

@pduyet
Copy link
Author

pduyet commented Jun 27, 2023

hey @pduyet , we have a same problem here. according to the swagger spec, each file in the allure-results folder must be converted to a base64 for string. I am wondering if this rule also applies to the screenshot.png file?

@fescobar is it something possible or we cannot upload png images through the send result api?

yes, I see that rule. we cannot convert the attachment file png in allure-results to base64. it makes the screenshot cannot show on the report. I'm studying about this issue

@fescobar
Copy link
Owner

Hi @victor-wang-anz @pduyet
What is the file that you want to send? Please, can you send me the example?
I don't have any issues with any image. Did you try using the scripts provided here? https://github.com/fescobar/allure-docker-service?tab=readme-ov-file#send-results-through-api

@fescobar fescobar added question Further information is requested answered Question answered waiting for answer Waiting for user's answer and removed question Further information is requested answered Question answered labels Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting for answer Waiting for user's answer
Projects
None yet
Development

No branches or pull requests

3 participants