Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

[MM-28295] e2e/messaging/reactions: add reactions spec #6535

Merged
merged 5 commits into from
Sep 25, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Apply suggestions from code review
Co-authored-by: Joseph Baylon <[email protected]>
Co-authored-by: Claudio Costa <[email protected]>
  • Loading branch information
3 people committed Sep 25, 2020
commit e741d1fcd9c8fb29633a21c62c6aee4faa9cfcc1
12 changes: 6 additions & 6 deletions e2e/cypress/integration/messaging/reactions_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ describe('Messaging', () => {
cy.findByLabelText('remove reaction +1').should('be.visible');
});

// # Clos RHS
// # Close RHS
cy.closeRHS();
});
});
Expand All @@ -52,7 +52,7 @@ describe('Messaging', () => {
// # Add a reaction to the post
cy.get('.emoji-picker__items #emoji-1f631').wait(TIMEOUTS.HALF_SEC).click();

// $ Click the `+` button next to the existing reactions (visible on hover)
// # Click the `+` button next to the existing reactions (visible on hover)
cy.get(`#addReaction-${postId}`).should('exist').click({force: true});

// # Click to select an emoji from the picker
Expand Down Expand Up @@ -102,14 +102,14 @@ describe('Messaging', () => {
cy.findByLabelText('remove reaction upside down face').should('be.visible');
});

// # Clos RHS
// # Close RHS
cy.closeRHS();
});
});
});

it('MM-T2195 Emoji reaction - not available on system message Flag - not available on system message Pin - not available on system message Can delete your own system message', () => {
lindy65 marked this conversation as resolved.
Show resolved Hide resolved
// # click add a channel description
// # Click add a channel description
cy.get('#channelHeaderDescription button').click();

// # Add or update a channel header
Expand All @@ -135,10 +135,10 @@ describe('Messaging', () => {
// * If permissions allow, can click [...] >
cy.clickPostDotMenu(postId);

// * Delete to delete system message
// # Delete to delete system message
cy.get(`#delete_post_${postId}`).click();

// # Check that confirmation dialog is open.
// * Check that confirmation dialog is open.
cy.get('#deletePostModal').should('be.visible');

// # Confirm deletion.
Expand Down