[MM-56695] Consolidate desktop and mobile Notifications to one and a new desktop notification sound settings (#26198)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
a81ee87832
Коммит
9698cfcc19
@@ -31,12 +31,12 @@ describe('Verify Accessibility Support in different sections in Settings and Pro
|
||||
|
||||
const settings = {
|
||||
notifications: [
|
||||
{key: 'desktop', label: 'Desktop Notifications', type: 'radio'},
|
||||
{key: 'email', label: 'Email Notifications', type: 'radio'},
|
||||
{key: 'push', label: 'Mobile Push Notifications', type: 'radio'},
|
||||
{key: 'keysWithNotification', label: 'Keywords That Trigger Notifications', type: 'checkbox'},
|
||||
{key: 'keysWithHighlight', label: 'Keywords That Get Highlighted (Without Notifications)', type: 'checkbox'},
|
||||
{key: 'comments', label: 'Reply Notifications', type: 'radio'},
|
||||
{key: 'desktopAndMobile', label: 'Desktop and mobile notifications', type: 'radio'},
|
||||
{key: 'desktopNotificationSound', label: 'Desktop notification sounds', type: 'radio'},
|
||||
{key: 'email', label: 'Email notifications', type: 'radio'},
|
||||
{key: 'keywordsAndMentions', label: 'Keywords that trigger notifications', type: 'checkbox'},
|
||||
{key: 'keywordsAndHighlight', label: 'Keywords that get highlighted (without notifications)', type: 'checkbox'},
|
||||
{key: 'replyNotifications', label: 'Reply notifications', type: 'radio'},
|
||||
],
|
||||
display: [
|
||||
{key: 'theme', label: 'Theme', type: 'radio'},
|
||||
@@ -147,18 +147,6 @@ describe('Verify Accessibility Support in different sections in Settings and Pro
|
||||
verifySettings(settings.advanced);
|
||||
});
|
||||
|
||||
it('MM-T1481 Verify Correct Radio button behavior in Settings and Profile', () => {
|
||||
cy.visit(url);
|
||||
cy.postMessage('hello');
|
||||
cy.uiOpenSettingsModal();
|
||||
|
||||
cy.get('#notificationsButton').click();
|
||||
cy.get('#desktopEdit').click();
|
||||
cy.get('#desktopNotificationAllActivity').check().should('be.checked').tab().check();
|
||||
cy.get('#desktopNotificationMentions').should('be.checked').tab().check();
|
||||
cy.get('#desktopNotificationNever').should('be.checked');
|
||||
});
|
||||
|
||||
it('MM-T1482 Input fields in Settings and Profile should read labels', () => {
|
||||
cy.visit(url);
|
||||
cy.postMessage('hello');
|
||||
|
||||
Ссылка в новой задаче
Block a user