Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Rocket.Chat
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RocketChat
Rocket.Chat
Commits
322f0d3e
Commit
322f0d3e
authored
8 years ago
by
Gabriel Engel
Committed by
GitHub
8 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #4560 from mmeinert/patch-2
Fix typos
parents
c6328ec5
efaef92f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/steps/basic-usage.js
+7
-7
7 additions, 7 deletions
tests/steps/basic-usage.js
with
7 additions
and
7 deletions
tests/steps/basic-usage.js
+
7
−
7
View file @
322f0d3e
...
@@ -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" but
t
on
'
,
()
=>
{
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 butt
n
o
'
,
()
=>
{
it
(
'
should show the cancel butto
n
'
,
()
=>
{
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 butt
n
o
'
,
()
=>
{
it
(
'
should show the confirm butto
n
'
,
()
=>
{
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
(
'
priv
a
te 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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment