-
- Downloads
Add Cypress custom command for sandboxing tables (#15038)
* Add Cypress custom command `cy.sandboxTable`
* Apply `cy.sandboxTable()` to all related tests
* Tuck permissions updating within sandboxing custom command
This abstracts away one layer of sandboxing that is necessary, but at the same time made tests harder to read.
* Account for the possibility of passing multiple user attributes
Co-authored-by:
Paul Rosenzweig <paulrosenzweig@users.noreply.github.com>
Showing
- enterprise/frontend/test/metabase-enterprise/sandboxes/sandboxes.cy.spec.js 41 additions, 183 deletions...d/test/metabase-enterprise/sandboxes/sandboxes.cy.spec.js
- frontend/test/__support__/commands.js 36 additions, 1 deletionfrontend/test/__support__/commands.js
- frontend/test/metabase-db/postgres/sandboxes.cy.spec.js 2 additions, 14 deletionsfrontend/test/metabase-db/postgres/sandboxes.cy.spec.js
Please register or sign in to comment