Cypress: File export, or access to confirm window

Created on 29 Aug 2019  路  3Comments  路  Source: cypress-io/cypress

Hello
How can I file exporting?
for example, when clicked button, there confirm window to save the file...
How can access for this confirm window, then click on save button?

thnx

question

All 3 comments

@Ahmad-Alahrashi please read FAQ available on this topic here: https://docs.cypress.io/faq/questions/using-cypress-faq.html#Is-there-a-way-to-test-that-a-file-got-downloaded-I-want-to-test-that-a-button-click-triggers-a-download

not yet :(

@Ahmad-Alahrashi There are some examples here https://github.com/cypress-io/cypress-example-recipes/issues/339

Issues in our GitHub repo are reserved for potential bugs or feature requests. This issue will be closed since it appears to be neither a bug nor a feature request.

We recommend questions relating to how to use Cypress be asked in our community chat. Also try searching our existing GitHub issues, reading through our documentation, or searching Stack Overflow for relevant answers.

Was this page helpful?
0 / 5 - 0 ratings