selectAction(action) {
		switch (action) {
			case 'edit':
				this.messageEdit.click();
				this.messageInput.type('this message was edited');
				break;
			case 'reply':
				this.messageReply.click();
				this.messageInput.type(' this is a reply message');
				break;
			case 'delete':
				this.messageDelete.click();
				break;
			case 'permalink':
				this.messagePermalink.click();
				break;
			case 'copy':
				this.messageCopy.click();
				break;
			case 'quote':
				this.messageQuote.click();
				this.messageInput.type(' this is a quote message');
				break;
			case 'star':
				this.messageStar.click();
				break;
			case 'unread':
				this.messageUnread.click();
				break;
			case 'reaction':
				this.messageReply.click();
				this.emojiPickerPeopleIcon.click();
				this.emojiGrinning.click();
				break;
			case 'close':
				this.messageClose.click();
				break;
		}
	}
// Do one of the message actions, based on the "action" parameter inserted.
Do one of the message actions, based on the "action" parameter inserted.
Do one of the message actions based on the " action " parameter inserted .
selectAction(action) {
		switch (action) {
			case 'edit':
				this.messageEdit.click();
				this.messageInput.type('this message was edited');
				break;
			case 'reply':
				this.messageReply.click();
				this.messageInput.type(' this is a reply message');
				break;
			case 'delete':
				this.messageDelete.click();
				break;
			case 'permalink':
				this.messagePermalink.click();
				break;
			case 'copy':
				this.messageCopy.click();
				break;
			case 'quote':
				this.messageQuote.click();
				this.messageInput.type(' this is a quote message');
				break;
			case 'star':
				this.messageStar.click();
				break;
			case 'unread':
				this.messageUnread.click();
				break;
			case 'reaction':
				this.messageReply.click();
				this.emojiPickerPeopleIcon.click();
				this.emojiGrinning.click();
				break;
			case 'close':
				this.messageClose.click();
				break;
		}
	}
selectAction ( action ) { switch ( action ) { case 'edit' : this . messageEdit . click ( ) ; this . messageInput . type ( 'this message was edited' ) ; break ; case 'reply' : this . messageReply . click ( ) ; this . messageInput . type ( ' this is a reply message' ) ; break ; case 'delete' : this . messageDelete . click ( ) ; break ; case 'permalink' : this . messagePermalink . click ( ) ; break ; case 'copy' : this . messageCopy . click ( ) ; break ; case 'quote' : this . messageQuote . click ( ) ; this . messageInput . type ( ' this is a quote message' ) ; break ; case 'star' : this . messageStar . click ( ) ; break ; case 'unread' : this . messageUnread . click ( ) ; break ; case 'reaction' : this . messageReply . click ( ) ; this . emojiPickerPeopleIcon . click ( ) ; this . emojiGrinning . click ( ) ; break ; case 'close' : this . messageClose . click ( ) ; break ; } }
Do one of the message actions, based on the "action" parameter inserted.
Do one of the message actions based on the " action " parameter inserted .