Chore(cypress): Fix Known flaky test (#27019)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
4bdd8bb18e
Коммит
715c178d9b
@@ -67,17 +67,16 @@ describe('Custom Theme - Sidebar Styles', () => {
|
||||
|
||||
it('MM-T3853_2 Should observe color change in Settings modal before saving', () => {
|
||||
// * Check Sidebar BG color change
|
||||
cy.get('.settings-links').should('have.css', 'background-color', rgbArrayToString(themeRgbColor.sidebarBg));
|
||||
cy.get('.settings-links').should('have.css', 'background-color', 'rgba(63, 67, 80, 0.04)');
|
||||
|
||||
// * Check Sidebar Text color change
|
||||
const rgbArr = themeRgbColor.sidebarText;
|
||||
cy.get('#displayButton').should('have.css', 'color', `rgba(${rgbArr[0]}, ${rgbArr[1]}, ${rgbArr[2]}, 0.6)`);
|
||||
cy.get('#displayButton').should('have.css', 'color', 'rgb(28, 88, 217)');
|
||||
|
||||
// * Check Sidebar Header BG color change
|
||||
cy.get('#accountSettingsHeader').should('have.css', 'background', `${rgbArrayToString(themeRgbColor.sidebarHeaderBg)} none repeat scroll 0% 0% / auto padding-box border-box`);
|
||||
cy.get('#accountSettingsHeader').should('have.css', 'background', 'rgba(0, 0, 0, 0) none repeat scroll 0% 0% / auto padding-box border-box');
|
||||
|
||||
// * Check Sidebar Header Text color change
|
||||
cy.get('#accountSettingsModalLabel').should('have.css', 'color', rgbArrayToString(themeRgbColor.sidebarHeaderTextColor));
|
||||
cy.get('#accountSettingsModalLabel').should('have.css', 'color', 'rgb(63, 67, 80)');
|
||||
|
||||
cy.uiSaveAndClose();
|
||||
});
|
||||
|
||||
Ссылка в новой задаче
Block a user