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
s/flag/save
  • Loading branch information
isacikgoz committed Sep 25, 2020
commit cb08c58b4d3452d7f56f67d803736733d33eb855
8 changes: 4 additions & 4 deletions e2e/cypress/integration/messaging/reactions_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ describe('Messaging', () => {
});
});

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', () => {
it('MM-T2195 Emoji reaction - not available on system message Save - not available on system message Pin - not available on system message Can delete your own system message', () => {
// # click add a channel description
isacikgoz marked this conversation as resolved.
Show resolved Hide resolved
cy.get('#channelHeaderDescription button').click();

Expand All @@ -121,7 +121,7 @@ describe('Messaging', () => {
cy.get(`#post_${postId}`).trigger('mouseover', {force: true});
cy.wait(TIMEOUTS.HALF_SEC).get(`#CENTER_reaction_${postId}`).should('not.exist');

// * Flag - not available on system message
// * Save - not available on system message
cy.get(`#post_${postId}`).trigger('mouseover', {force: true});
cy.wait(TIMEOUTS.HALF_SEC).get(`#CENTER_flagIcon_${postId}`).should('not.exist');

Expand All @@ -146,7 +146,7 @@ describe('Messaging', () => {
});
});

it('MM-T2196 Emoji reaction - not available on ephemeral message Flag - not available on ephemeral message Pin - not available on ephemeral message Timestamp - not a link on ephemeral message Can close ephemeral message', () => {
it('MM-T2196 Emoji reaction - not available on ephemeral message Save - not available on ephemeral message Pin - not available on ephemeral message Timestamp - not a link on ephemeral message Can close ephemeral message', () => {
// # Post `/away` to create an ephemeral message
cy.postMessage('/away');

Expand All @@ -160,7 +160,7 @@ describe('Messaging', () => {
cy.get(`#post_${postId}`).trigger('mouseover', {force: true});
cy.wait(TIMEOUTS.HALF_SEC).get(`#CENTER_reaction_${postId}`).should('not.exist');

// * Flag not available on ephemeral messages
// * Save not available on ephemeral messages
cy.get(`#post_${postId}`).trigger('mouseover', {force: true});
cy.wait(TIMEOUTS.HALF_SEC).get(`#CENTER_flagIcon_${postId}`).should('not.exist');

Expand Down