diff --git a/superset-frontend/cypress-base/cypress/integration/explore/link.test.ts b/superset-frontend/cypress-base/cypress/integration/explore/link.test.ts index a9b1ca7a2da15..9f07e9c10b859 100644 --- a/superset-frontend/cypress-base/cypress/integration/explore/link.test.ts +++ b/superset-frontend/cypress-base/cypress/integration/explore/link.test.ts @@ -54,7 +54,8 @@ describe('Test explore links', () => { cy.get('[aria-label="Menu actions trigger"]').click(); cy.get('div[title="Share"]').trigger('mouseover'); - cy.get('[data-test="ExploreAdditionalActionsMenu_share"]').within(() => { + // need to use [id= syntax, otherwise error gets triggered because of special character in id + cy.get('[id="share_submenu$Menu"]').within(() => { cy.contains('Embed code').parent().click(); }); cy.get('#embed-code-popover').within(() => { diff --git a/superset-frontend/src/explore/components/ExploreAdditionalActionsMenu/index.jsx b/superset-frontend/src/explore/components/ExploreAdditionalActionsMenu/index.jsx index 3cf083043d306..640912d694c5f 100644 --- a/superset-frontend/src/explore/components/ExploreAdditionalActionsMenu/index.jsx +++ b/superset-frontend/src/explore/components/ExploreAdditionalActionsMenu/index.jsx @@ -344,11 +344,7 @@ const ExploreAdditionalActionsMenu = ({ {t('Download as image')} -