diff --git a/e2e-tests/cypress/tests/integration/playbooks/channels/rhs/about_spec.js b/e2e-tests/cypress/tests/integration/playbooks/channels/rhs/about_spec.js index 7e6465ee17..64bf07efd7 100644 --- a/e2e-tests/cypress/tests/integration/playbooks/channels/rhs/about_spec.js +++ b/e2e-tests/cypress/tests/integration/playbooks/channels/rhs/about_spec.js @@ -90,7 +90,7 @@ describe('channels > rhs > header', {testIsolation: true}, () => { cy.get('#rhsContainer').findByTestId('rendered-run-name').should('be.visible').contains('new run name'); // * make sure the channel name remains unchanged - cy.get('#channelHeaderInfo').contains(playbookRunName); + cy.get('#channelHeaderInfo').findByRole('heading').contains(playbookRunName); }); }); diff --git a/webapp/channels/src/components/channel_header/channel_header_title.tsx b/webapp/channels/src/components/channel_header/channel_header_title.tsx index 58c496b03e..35538e2669 100644 --- a/webapp/channels/src/components/channel_header/channel_header_title.tsx +++ b/webapp/channels/src/components/channel_header/channel_header_title.tsx @@ -103,6 +103,8 @@ const ChannelHeaderTitle = ({ size='sm' /> @@ -130,44 +132,43 @@ const ChannelHeaderTitle = ({
- + )} + + +
diff --git a/webapp/channels/src/sass/layout/_headers.scss b/webapp/channels/src/sass/layout/_headers.scss index e6d7e18adb..aed38b3d3c 100644 --- a/webapp/channels/src/sass/layout/_headers.scss +++ b/webapp/channels/src/sass/layout/_headers.scss @@ -209,6 +209,7 @@ .heading { overflow: hidden; align-self: center; + padding: 4px; margin: 0 0 0 2px; color: var(--center-channel-color); font-family: Metropolis, sans-serif;