Skip to content
Snippets Groups Projects
Commit 322f0d3e authored by Gabriel Engel's avatar Gabriel Engel Committed by GitHub
Browse files

Merge pull request #4560 from mmeinert/patch-2

Fix typos
parents c6328ec5 efaef92f
No related branches found
No related tags found
No related merge requests found
...@@ -15,7 +15,7 @@ const password = 'rocket.chat'; ...@@ -15,7 +15,7 @@ const password = 'rocket.chat';
const PublicChannelName = 'channel-test-'+Date.now(); const PublicChannelName = 'channel-test-'+Date.now();
const privateChannelName = 'private-channel-test-'+Date.now(); const privateChannelName = 'private-channel-test-'+Date.now();
//User interactions(direct messages, add, remove...) //User interactions (direct messages, add, remove...)
const targetUser = 'rocket.cat'; const targetUser = 'rocket.cat';
//Test data //Test data
...@@ -86,7 +86,7 @@ describe('Basic usage', function() { ...@@ -86,7 +86,7 @@ describe('Basic usage', function() {
sideNav.newDirectMessageIcon.isVisible().should.be.true; sideNav.newDirectMessageIcon.isVisible().should.be.true;
}); });
it('should show the "More Direct Messages" buton', () => { it('should show the "More Direct Messages" button', () => {
sideNav.moreDirectMessages.isVisible().should.be.true; sideNav.moreDirectMessages.isVisible().should.be.true;
}); });
...@@ -227,14 +227,14 @@ describe('Basic usage', function() { ...@@ -227,14 +227,14 @@ describe('Basic usage', function() {
describe('fileUpload', ()=> { describe('fileUpload', ()=> {
it('send a attachment', () => { it('send a attachment', () => {
mainContent.fileUpload('/home/martin/Downloads/cat.jpg'); mainContent.fileUpload('/home/martin/Downloads/cat.jpg'); //really ?
}); });
it('should show the confirm button', () => { it('should show the confirm button', () => {
mainContent.popupFileConfirmBtn.isVisible().should.be.true; mainContent.popupFileConfirmBtn.isVisible().should.be.true;
}); });
it('should show the cancel buttno', () => { it('should show the cancel button', () => {
mainContent.popupFileCancelBtn.isVisible().should.be.true; mainContent.popupFileCancelBtn.isVisible().should.be.true;
}); });
...@@ -242,7 +242,7 @@ describe('Basic usage', function() { ...@@ -242,7 +242,7 @@ describe('Basic usage', function() {
mainContent.popupFilePreview.isVisible().should.be.true; mainContent.popupFilePreview.isVisible().should.be.true;
}); });
it('should show the confirm buttno', () => { it('should show the confirm button', () => {
mainContent.popupFileConfirmBtn.isVisible().should.be.true; mainContent.popupFileConfirmBtn.isVisible().should.be.true;
}); });
...@@ -398,7 +398,7 @@ describe('Basic usage', function() { ...@@ -398,7 +398,7 @@ describe('Basic usage', function() {
}); });
}); });
describe('privte channel', () => { describe('private channel', () => {
it('create a private channel', () => { it('create a private channel', () => {
sideNav.createChannel(privateChannelName, true, false); sideNav.createChannel(privateChannelName, true, false);
}); });
...@@ -423,4 +423,4 @@ describe('Basic usage', function() { ...@@ -423,4 +423,4 @@ describe('Basic usage', function() {
flexTab.channelTab.click(); flexTab.channelTab.click();
}); });
}); });
}); });
\ No newline at end of file
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