-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
file download not working in electron #20911
Comments
I have the same issue but without removing target attribute: When I add removeAttr: My anchor from: https://www.londonstockexchange.com/adviser: Cypress Version: |
I am getting this issue on cypress 10.10.0. I was before on 9.5.3 and it wasn't reproducing. The whole cypress process dies. Removing target blank only improves this by not crashing cypress, but download still doesn't work. |
I'm having the same issue in Cypress 10.4.0. Test: cy.get('[class="ti-new-window"]').eq(0).click().then(() => { Result: |
This is seemingly a duplicate of #18547, closing |
Current behavior
I am getting the same issue as #14747 but on 9.5.3, when using my cucumber test to download the file cypress is crashing (using Electron).
This is the test I have written:
and the error I am getting:
I have been removing the target so the second page does not open and it all opens on one page and this has worked for other fields but not this xlsx file.
Desired behavior
Download the XLSX file to a Download Folder without crashing
Test code to reproduce
'<p class="mb-20px"><a :href="propertyExcelGuideURL" target="_blank"><i class="fas fa-download"></i> Download guide/sample file</a>' +
Cypress Version
9.5.3
Other
No response
The text was updated successfully, but these errors were encountered: