Closed DzmitryMaretski closed 1 year ago
Hello @DzmitryMaretski!
Thanks for your issue and post. Right now, we are preparing a new major update and we will use your idea with options for attachments.
Hi, @n3r . Thanks for sharing. Could you please provide ETA for this new major update? Thanks in advance
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hi there. I have prepared changes for you to make more flexible
qase-playwright
library. Currently playwright support 3 different types of files: screenshot, video, trace When user want to run not a small test - qase upload can failed due to file size. We can provide customization for user to select specific file to upload. I can't upload changes by myself, so I will show you here all changes.qase-playwright/src/index.ts
uploadAttachments
function should be rewritten. So, we will check: do we need to upload Video? Is this attachment is video? If yes - we will prepare readstream and it will be uploadedonTestEnd
function should have.filter
function to delete all nulls.After that we can add to
qase-playwright/examples/playwright.config.ts
additional parameter:To show how it works.
Also need to provide additional field parameter in README.md file in
Reporter options (* - required):
sectionIt would be great to see this feature in the nearest future