From 1e184df4143ed70c2ac49fed6223a52bd880151a Mon Sep 17 00:00:00 2001 From: lindalumitchell Date: Tue, 16 Jan 2024 02:58:05 -0800 Subject: [PATCH] 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 --- .../tests/integration/channels/channel/channel_settings_spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e-tests/cypress/tests/integration/channels/channel/channel_settings_spec.js b/e2e-tests/cypress/tests/integration/channels/channel/channel_settings_spec.js index f08d637e65..56568c35d8 100644 --- a/e2e-tests/cypress/tests/integration/channels/channel/channel_settings_spec.js +++ b/e2e-tests/cypress/tests/integration/channels/channel/channel_settings_spec.js @@ -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