Skip to content
Snippets Groups Projects
Commit f0e80b82 authored by Rodrigo Nascimento's avatar Rodrigo Nascimento Committed by GitHub
Browse files

Update basic-usage.js

parent dd5b8705
No related merge requests found
......@@ -162,48 +162,63 @@ describe('Basic usage', function() {
it('should show the title of the channel', () => {
mainContent.channelTitle.isVisible().should.be.true;
});
it('should show the empty favorite star', () => {
mainContent.emptyFavoriteStar.isVisible().should.be.true;
});
it('clicks the star', () => {
mainContent.emptyFavoriteStar.click();
});
it('should not show the empty favorite star', () => {
mainContent.favoriteStar.isVisible().should.be.true;
});
it('clicks the star', () => {
mainContent.emptyFavoriteStar.click();
});
it('should show the message input bar', () => {
mainContent.messageInput.isVisible().should.be.true;
});
it('should show the file attachment button', () => {
mainContent.fileAttachmentBtn.isVisible().should.be.true;
});
it('should show the audio recording button', () => {
mainContent.recordBtn.isVisible().should.be.true;
});
it('should show the video call button', () => {
mainContent.videoCamBtn.isVisible().should.be.true;
});
it('should not show the send button', () => {
mainContent.sendBtn.isVisible().should.be.false;
});
it('should show the emoji button', () => {
mainContent.emojiBtn.isVisible().should.be.true;
});
it('adds some text to the input', () => {
mainContent.addTextToInput('Some Text');
});
it('should show the send button', () => {
mainContent.sendBtn.isVisible().should.be.true;
});
it('should not show the file attachment button', () => {
mainContent.fileAttachmentBtn.isVisible().should.be.false;
});
it('should not show the audio recording button', () => {
mainContent.recordBtn.isVisible().should.be.false;
});
it('should not show the video call button', () => {
mainContent.videoCamBtn.isVisible().should.be.false;
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment