
backported "Fix embedding" (#40969)

* Fix embedding (#40841) * Fix overflow static dashboard * Fix `frame` event's height for interactive dashboards * Fix E2E tests * Fix test names to match the correct GitHub issue numbers * Use `data-element-id` for consistency * Make the test selector more consistent * Use the new backported util from master --------- Co-authored-by:Mahatthana (Kelvin) Nomsawadi <me@bboykelvin.dev> Co-authored-by:
Mahatthana Nomsawadi <mahatthana.n@gmail.com>
Showing
- e2e/support/helpers/e2e-embedding-helpers.js 13 additions, 0 deletionse2e/support/helpers/e2e-embedding-helpers.js
- e2e/support/helpers/e2e-ui-elements-helpers.js 1 addition, 1 deletione2e/support/helpers/e2e-ui-elements-helpers.js
- e2e/test/scenarios/dashboard-cards/reproductions/29304-scalar-first-render-size-change.cy.spec.js 1 addition, 16 deletions...ductions/29304-scalar-first-render-size-change.cy.spec.js
- e2e/test/scenarios/dashboard-filters/dashboard-filters-auto-apply.cy.spec.js 1 addition, 12 deletions...dashboard-filters/dashboard-filters-auto-apply.cy.spec.js
- e2e/test/scenarios/embedding/interactive-embedding.cy.spec.js 78 additions, 13 deletions...test/scenarios/embedding/interactive-embedding.cy.spec.js
- e2e/test/scenarios/embedding/reproductions/40660-overflow-when-embedding-long-dashboards.cy.spec.js 59 additions, 0 deletions.../40660-overflow-when-embedding-long-dashboards.cy.spec.js
- frontend/src/metabase-types/api/mocks/dashboard.ts 5 additions, 4 deletionsfrontend/src/metabase-types/api/mocks/dashboard.ts
- frontend/src/metabase/dashboard/components/Dashboard/Dashboard.styled.tsx 3 additions, 0 deletions...abase/dashboard/components/Dashboard/Dashboard.styled.tsx
- frontend/src/metabase/dashboard/components/Dashboard/Dashboard.tsx 4 additions, 1 deletion...src/metabase/dashboard/components/Dashboard/Dashboard.tsx
- frontend/src/metabase/lib/embed.js 23 additions, 1 deletionfrontend/src/metabase/lib/embed.js
- frontend/src/metabase/nav/components/AppBar/AppBar.tsx 5 additions, 1 deletionfrontend/src/metabase/nav/components/AppBar/AppBar.tsx
- frontend/src/metabase/public/components/EmbedFrame/EmbedFrame.styled.tsx 1 addition, 0 deletions...tabase/public/components/EmbedFrame/EmbedFrame.styled.tsx
Loading
Please register or sign in to comment