MM-51798: Fix Boards+Playbooks channel header RHS button styling (#23276)
* fix playbook icon * fix boards icon * lint * fix test
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
6905df9f97
Коммит
f815c20fca
@@ -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', () => {
|
||||
|
||||
Ссылка в новой задаче
Block a user