Robotframework + Allure: Screenshot attachments return 404 error.
See original GitHub issueI’m submitting a …
- bug report
- feature request
- support request => Please do not submit support request here, see note at the top of this template.
What is the current behavior?
Screenshot attachments return 404 error.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
Here’s the project I pushed to git in order to able to reproduce the issue: https://github.com/KonstantinxVx/robotframework-docker-dummy
- Clone my project: https://github.com/KonstantinxVx/robotframework-docker-dummy.git
- Pull my Docker image: https://hub.docker.com/r/konstantinxv/robotframework-docker-project/
- Run Docker inside the project’s directory:
$ docker run --rm -i -e DBUS_SESSION_BUS_ADDRESS=/dev/null \
--shm-size 512M \
--user $( id -u $USER ):$( id -g $USER ) \
--volume $(pwd):/test/:rw \
--workdir /test/ konstantinxv/robotframework-docker-project \
robot \
--include webdriver-test \
--outputdir results \
--listener 'allure_robotframework;./results/allure' \
/test/dummy.robot
- Generate Allure report:
$ allure serve results/allure
- Go to Allure and open penultimate executed
Capture Page Screenshot
step.
What is the expected behavior?
Screenshot attachment is displayed without issues.
What is the actual behavior?
Failed to load resource: the server responded with a status of 404 (Not Found)
http://192.168.1.2:50104/data/attachments/selenium-screenshot-4.png 404 (Not Found)
Please tell us about your environment:
- Allure version: 2.7.0
- Test framework: robotframework 3.0.4
- Allure adaptor: allure-robotframework 2.5.2
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:9 (5 by maintainers)
Top Results From Across the Web
getting 404 error when generating allure report in protractor ...
I am trying to generate allure report in protractor for the first time,. To generate allure report I am using jasmine allure reporter:1.0.2 ......
Read more >allure-framework/allure-core - Gitter
A flexible lightweight multi-language test report tool with the possibility to add steps, attachments, parameters and so on. People.
Read more >allure-robotframework - Python Package Health Analysis - Snyk
The python package allure-robotframework was scanned for known vulnerabilities and missing license, and no issues were found. Thus the package was deemed as ......
Read more >Clustering 4000 Stack Overflow tags with BigQuery k-means
logging, exception, error-handling, azure-functions, reflection, ... gerrit, rebase, open-source, githooks, allure, ssh-keys, git-push
Read more >Simple index - piwheels
... cottoncandy permitio ots-scheduler pytest-ui-failed-screenshot-allure django-fstore mobilepayclient pybigbuy odoo12-addon-document-page-quality-manual ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Great! I guess, that is not only one way to attach screen shots, if you have a some ideas, welcome.
Hi! I’m trying to use this custom lib with AppiumLibrary, but got this problem:
[ WARN ] Imported library ‘robot_mobile\Library\selenium_helper.py’ contains no keywords.
Any way to solve this in AppiumLibrary?