Commit 7ea02a42 authored by Ben Hayward's avatar Ben Hayward

Updated data attribute name

1 merge request!542[Sprint/ModestMonkey](feat): Messenger e2e #1826
Pipeline #81405009 running with stages
......@@ -18,13 +18,13 @@ context('Messenger', () => {
const passwordInput = (i) => `input[type=password]:nth-child(${i})`;
const submitPassword = 'm-messenger--encryption > div > button';
const messageInput = '.m-messenger--conversation-composer > textarea';
const sendButton = '[data-cy=send]';
const sendButton = '[data-cy=conversation-send]';
const messageBubble = '.m-messenger--conversation-message-bubble';
const settingsButton = '[data-cy=options]';
const closeButton = '[data-cy=close]';
const settingsButton = '[data-cy=conversation-options]';
const closeButton = '[data-cy=conversation-close]';
const destroyButton = '[data-cy=destroy]';
const destroyButton = '[data-cy=conversation-destroy]';
before(() => {
cy.newUser(testUsername, testPassword);
......
......@@ -19,13 +19,16 @@
<i class="material-icons mdl-color-text--blue-grey-100" [hidden]="live"
>sync_problem</i
>
<i class="material-icons" (click)="ribbonToggle()" data-cy="options"
<i
class="material-icons"
(click)="ribbonToggle()"
data-cy="conversation-options"
>more_vert</i
>
<i
class="material-icons"
(click)="dockpanes.close(conversation)"
data-cy="close"
data-cy="conversation-close"
>close</i
>
</div>
......@@ -49,7 +52,7 @@
>
<ng-container
i18n="@@MESSENGER__CONVERSATION__DESTROY"
data-cy="destroy"
data-cy="conversation-destroy"
>Destroy</ng-container
>
</div>
......@@ -251,7 +254,7 @@
<i
class="material-icons mdl-color-text--blue-grey-600"
(click)="send($event); emoji.close()"
data-cy="send"
data-cy="conversation-send"
>send_arrow</i
>
<minds-emoji [localDirective]="emoji"></minds-emoji>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment