Comments (6)
Hi @ndiaz-candido, I'll check it at mac os x a little bit later.
from mochawesome-screenshots.
Done. You can use "shortScrFileNames: true" option for short names
from mochawesome-screenshots.
Hi @BelAn97, I have enabled the shortScrFileNames
flag to get short names but it seems is loosing the image references.
In my case the source is looking for: screenshots/_and_when_opens_the_share_modal_to_add_the_asset_to_the_public_portal_and_when_logs_out_and_goes_to_the_public_portal_and_searches_the_asset_then_he_should_be_able_to_.png
But the screenshot was saved as:
screenshots/_given_an_authenticated_user_when_he_publishes_an_oas_asset_and_when_opens_the_share_modal_to_add_the_asset_to_the_public_portal_and_when_logs_out_and_goes_to_the_publ.png
Not sure if the feature is working for me or something wrong is happening. I have installed the last version 1.5.7
where you delivered the feature.
@raghavsachdev did the feature work for you?
Thanks in advance!
from mochawesome-screenshots.
@ndiaz-candido @BelAn97 I just installed this on another mac and added the shortScrFileNames: true option but I am still seeing the same problem. The report is looking for a screenshot with a filename that was cut off by OS X.
from mochawesome-screenshots.
Hi @ndiaz-candido, @raghavsachdev. I've check it at my mac os x - all worked fine.
I've made some changes that could be fix your issues. Please, try version 1.5.8.
from mochawesome-screenshots.
Looks good to me! Thanks @BelAn97
from mochawesome-screenshots.
Related Issues (20)
- Is there any option to enable-disable 'Show Code' and 'Show Log' options in HTML Report
- Error: Problem with mochawesome: ReferenceError: path is not defined HOT 1
- How do I attach screenshot with my failed test case? HOT 12
- Not Getting Step wise Report HOT 1
- How to change background color and font color of report? HOT 2
- mochawesome-screenshots cannot generate the correct report with mocha-parallel-tests
- Set multiple screenshots plus title HOT 1
- Feature Request: Option to capture HTML
- Screenshots are missing when used with nightwatchjs
- Gulp build not running
- mochawesome-screenshots not capturing screenshots HOT 2
- Does mochawesome-screenshots support selenium webdriver? if yes, how should it be configured using .mocharc.js config file? HOT 5
- Display and logging of "before" and "after" hooks.
- No screenshot saved in puppeteer
- Flag to view or hide test passed and failed in Reports
- Any plan for supporting playwright with mocha
- No log message - this may take long time to investigate why screenshots are not taken
- Custom src file name are not display anywhere in report
- Only one screenshot is present in report html - how to view all
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mochawesome-screenshots.