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>
Этот коммит содержится в:
lindalumitchell
2024-01-16 02:58:05 -08:00
коммит произвёл GitHub
родитель 8818141dae
Коммит 1e184df414

Просмотреть файл

@@ -45,7 +45,7 @@ describe('Channel Settings', () => {
cy.get('#save-button').click();
// # 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}`);
// # Enter a new URL and save