Upstream cypress improvements (#13898)
* Improve Cypress helper functions with log messages (#13749) [ci skip] - Adds helpful log message to various helper functions in `frontend/test/__support__/cypress.js`. - `--- Logging in as ${user} ---` to `signIn()` - `--- Signing out ---` to `signOut()` and - `--- Restore Data Set ---` to `restore()` * Disable video uploads for successful Cypress tests (#13747) * https://docs.cypress.io/guides/references/configuration.html#Videos * Add Cypress file download testing (#13430) * Add `read-excel-file` library * Add "file download" config to `cypress-plugins.js` * Switch to SheetJS for xlsx/csv testing and upgrade Cypress because of https://github.com/cypress-io/cypress/pull/7382 Co-authored-by:Damon P. Cortesi <d.lifehacker@gmail.com> * Quarantine `field.cy.spec.js` (#13896) Full quarantine list in #13682. * Fix smoke tests (#13897) Failure happened because of the obsolete references to the now updated actions/drill-through popover menu.
Showing
- frontend/test/__support__/cypress.js 6 additions, 0 deletionsfrontend/test/__support__/cypress.js
- frontend/test/cypress-plugins.js 4 additions, 0 deletionsfrontend/test/cypress-plugins.js
- frontend/test/cypress.json 1 addition, 0 deletionsfrontend/test/cypress.json
- frontend/test/metabase-smoketest/user.cy.spec.js 26 additions, 21 deletionsfrontend/test/metabase-smoketest/user.cy.spec.js
- frontend/test/metabase/scenarios/admin/datamodel/field.cy.spec.js 2 additions, 1 deletion.../test/metabase/scenarios/admin/datamodel/field.cy.spec.js
- frontend/test/metabase/scenarios/question/downloads.cy.spec.js 59 additions, 0 deletions...end/test/metabase/scenarios/question/downloads.cy.spec.js
- package.json 2 additions, 1 deletionpackage.json
- yarn.lock 86 additions, 1 deletionyarn.lock
Loading
Please register or sign in to comment