mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
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>
This commit is contained in:
parent
8818141dae
commit
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
|
||||
|
Loading…
Reference in New Issue
Block a user