Update channel_settings_spec.js (#25580)
Error text updated to `A channel with that name already exists on the same team.` MM-T882 Channel URL validation works properly Co-authored-by: Mattermost Build <build@mattermost.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
8818141dae
Коммит
1e184df414
@@ -45,7 +45,7 @@ describe('Channel Settings', () => {
|
|||||||
cy.get('#save-button').click();
|
cy.get('#save-button').click();
|
||||||
|
|
||||||
// # Error is displayed and URL is unchanged
|
// # Error is displayed and URL is unchanged
|
||||||
cy.get('.has-error').should('be.visible').and('contain', 'Unable to update the channel');
|
cy.get('.has-error').should('be.visible').and('contain', 'A channel with that name already exists on the same team.');
|
||||||
cy.url().should('include', `/${testTeam.name}/channels/${channel.name}`);
|
cy.url().should('include', `/${testTeam.name}/channels/${channel.name}`);
|
||||||
|
|
||||||
// # Enter a new URL and save
|
// # Enter a new URL and save
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user