diff --git a/container/cypress/e2e/test-app/compound/create-dynamic-compound-container.cy.js b/container/cypress/e2e/test-app/compound/create-dynamic-compound-container.cy.js index bf9a94609a..5bfa2839c7 100644 --- a/container/cypress/e2e/test-app/compound/create-dynamic-compound-container.cy.js +++ b/container/cypress/e2e/test-app/compound/create-dynamic-compound-container.cy.js @@ -77,7 +77,7 @@ describe('create luigi-compound-container dynamically', () => { cy.get('.content').invoke('append', scriptCode); cy.get('luigi-compound-container') .shadow() - .then($container => { + .then(($container) => { return cy .wrap($container) .find( @@ -85,15 +85,14 @@ describe('create luigi-compound-container dynamically', () => { ) .shadow(); }) - .then($innerContainer => { + .then(($innerContainer) => { cy.wrap($innerContainer) .get( 'luigi-wc-68747470733a2f2f6c75696769776562636f6d706f6e656e74732e6769746c61622e696f2f6c756967692d77632d6d66652f6d61696e2e6a73' ) .should('exist') .shadow() - .find('section') - .should('contain.text', 'This is a luigi micro frontend, based on web components.'); + .should('not.exist'); // ShadowRoot in 'closed' mode }); }); it('luigi compound container invalid JSON in context property', () => { @@ -171,9 +170,7 @@ describe('create luigi-compound-container dynamically', () => { cy.visit(tetsPage); cy.get('.content').invoke('append', scriptCode); - cy.get('luigi-compound-container') - .shadow() - .should('not.exist'); + cy.get('luigi-compound-container').shadow().should('not.exist'); }); it('luigi compound container with no shadow dom', () => { const scriptCode = ` @@ -249,8 +246,6 @@ describe('create luigi-compound-container dynamically', () => { cy.on('window:alert', stub); cy.visit(tetsPage); cy.get('.content').invoke('append', scriptCode); - cy.get('luigi-compound-container') - .shadow() - .should('not.exist'); + cy.get('luigi-compound-container').shadow().should('not.exist'); }); }); diff --git a/core/src/navigation/MobileTopNavDropDown.svelte b/core/src/navigation/MobileTopNavDropDown.svelte index 6cf2bc261b..725f3a11aa 100644 --- a/core/src/navigation/MobileTopNavDropDown.svelte +++ b/core/src/navigation/MobileTopNavDropDown.svelte @@ -52,7 +52,7 @@ data-e2e="mobile-topnav-item" data-testid={NavigationHelpers.getTestId(node)} > -