MM-51798: Fix Boards+Playbooks channel header RHS button styling (#23276)

* fix playbook icon

* fix boards icon

* lint

* fix test
Этот коммит содержится в:
Caleb Roseland
2023-05-09 03:39:34 -05:00
коммит произвёл GitHub
родитель 6905df9f97
Коммит f815c20fca
8 изменённых файлов: 165 добавлений и 21 удалений

Просмотреть файл

@@ -93,6 +93,20 @@ describe('channels > channel header', {testIsolation: true}, () => {
// * Verify tooltip text
cy.get('#pluginTooltip').contains('Playbooks');
});
it('webapp should make the Playbook channel header button active when opened', () => {
// # Navigate directly to a non-playbook run channel
cy.visit(`/${testTeam.name}/channels/town-square`);
cy.get('#channel-header').within(() => {
// # Click the channel header button
cy.get('#incidentIcon').click();
// * Verify channel header button is showing active className
cy.get('#incidentIcon').parent().
should('have.class', 'channel-header__icon--active-inverted');
});
});
});
describe('description text', () => {