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

After Download API #27779

Open
badeball opened this issue Sep 10, 2023 · 0 comments
Open

After Download API #27779

badeball opened this issue Sep 10, 2023 · 0 comments
Labels
E2E Issue related to end-to-end testing type: feature New feature that does not currently exist

Comments

@badeball
Copy link
Contributor

What would you like?

I'd like to be able to track downloads occurring in a test, for the purpose of report generation, similar to how I do with the after:screenshot event. Specifically, I'd like to add downlods (as attachments) continuously to JSON reports generated by @badeball/cypress-cucumber-preprocessor and do so at the correct step (as opposed to reading the download directory post-test).

Why is this needed?

No response

Other

No response

@nagash77 nagash77 added type: feature New feature that does not currently exist E2E Issue related to end-to-end testing labels Sep 11, 2023
badeball added a commit to badeball/cypress-cucumber-preprocessor that referenced this issue Nov 2, 2023
This is necessary for EG. consistently adding downloads as attachments,
in the absence of a proper "after download api" [1]. I hope and believe
that this fixes #1089 [1].

[1] cypress-io/cypress#27779
[2] #1089
badeball added a commit to badeball/cypress-cucumber-preprocessor that referenced this issue Nov 2, 2023
This is necessary for EG. consistently adding downloads as attachments,
in the absence of a proper "after download api" [1]. I hope and believe
that this fixes #1089 [1].

[1] cypress-io/cypress#27779
[2] #1089
badeball added a commit to badeball/cypress-cucumber-preprocessor that referenced this issue Nov 2, 2023
This is necessary for EG. consistently adding downloads as attachments,
in the absence of a proper "after download api" [1]. I hope and believe
that this fixes #1089 [2].

[1] cypress-io/cypress#27779
[2] #1089
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E2E Issue related to end-to-end testing type: feature New feature that does not currently exist
Projects
None yet
Development

No branches or pull requests

2 participants