[MM-59060] Remove pre release features section from advanced section of user settings (#27608)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
eaa3c86a6a
Коммит
e2d7d2d23c
@@ -76,24 +76,6 @@ Cypress.Commands.add('apiSaveMessageDisplayPreference', (value = 'clean') => {
|
||||
});
|
||||
});
|
||||
|
||||
/**
|
||||
* Saves show markdown preview option preference of a user directly via API
|
||||
* This API assume that the user is logged in and has cookie to access
|
||||
* @param {String} value - Either "true" to show the options (default) or "false"
|
||||
*/
|
||||
Cypress.Commands.add('apiSaveShowMarkdownPreviewPreference', (value = 'true') => {
|
||||
return cy.getCookie('MMUSERID').then((cookie) => {
|
||||
const preference = {
|
||||
user_id: cookie.value,
|
||||
category: 'advanced_settings',
|
||||
name: 'feature_enabled_markdown_preview',
|
||||
value,
|
||||
};
|
||||
|
||||
return cy.apiSaveUserPreference([preference]);
|
||||
});
|
||||
});
|
||||
|
||||
/**
|
||||
* Saves teammate name display preference of a user directly via API
|
||||
* This API assume that the user is logged in and has cookie to access
|
||||
|
||||
Ссылка в новой задаче
Block a user