MM-54022: add warning when deleting a remote post (#28284)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
e080f9f5ed
Коммит
e0e0b57b8b
@@ -43,10 +43,10 @@ describe('Message deletion', () => {
|
||||
cy.get('#deletePostModal').should('be.visible');
|
||||
|
||||
// * Check that confirmation dialog contains correct text
|
||||
cy.get('#deletePostModal').should('contain', 'Are you sure you want to delete this Post?');
|
||||
cy.get('#deletePostModal').should('contain', 'Are you sure you want to delete this message?');
|
||||
|
||||
// * Check that confirmation dialog shows that the post has one comment on it
|
||||
cy.get('#deletePostModal').should('contain', 'This post has 1 comment on it.');
|
||||
cy.get('#deletePostModal').should('contain', 'This message has 1 comment on it.');
|
||||
|
||||
// # Confirm deletion.
|
||||
cy.get('#deletePostModalButton').click();
|
||||
|
||||
@@ -379,10 +379,10 @@ const deleteLatestPostRoot = (testTeam, channelName) => {
|
||||
|
||||
// * Check that confirmation dialog contains correct text
|
||||
cy.get('#deletePostModal').
|
||||
should('contain', 'Are you sure you want to delete this Post?');
|
||||
should('contain', 'Are you sure you want to delete this message?');
|
||||
|
||||
// * Check that confirmation dialog shows that the post has one comment on it
|
||||
cy.get('#deletePostModal').should('contain', 'This post has 1 comment on it.');
|
||||
cy.get('#deletePostModal').should('contain', 'This message has 1 comment on it.');
|
||||
|
||||
// # Confirm deletion.
|
||||
cy.get('#deletePostModalButton').click();
|
||||
|
||||
Ссылка в новой задаче
Block a user