stable

Clone or download

Read-only

Add a cypress test to verify zip download

Part of: story #12404 download folder as zip How to test: - make tests_cypress should succeed Note: It tests the download in two parts: - It verifies the link href looks correct - It uses cy.request() and verifies HTTP status code and header We should not simply click() on the link, otherwise the test browser will ask "where to save the file" and will stop the test. Change-Id: Id0fa0eefc5c97db160d88222f460288c5fc9cead

Modified Files

Name
M plugins/document/tests/e2e/cypress/cypress/integration/document.spec.js +84 −15 Go to diff View file