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
37bc8092
Commit
37bc8092
authored
8 years ago
by
Karl Prieb
Browse files
Options
Downloads
Patches
Plain Diff
fix tests
parent
c5dec0a8
No related branches found
Branches containing commit
Tags
6.7.0-rc.0
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/end-to-end/ui/13-permissions.js
+2
-7
2 additions, 7 deletions
tests/end-to-end/ui/13-permissions.js
with
2 additions
and
7 deletions
tests/end-to-end/ui/13-permissions.js
+
2
−
7
View file @
37bc8092
...
...
@@ -11,7 +11,7 @@ import {checkIfUserIsValid} from '../../data/checks';
import
{
checkIfUserIsAdmin
}
from
'
../../data/checks
'
;
import
{
username
,
email
,
password
,
adminUsername
,
adminEmail
,
adminPassword
}
from
'
../../data/user.js
'
;
describe
(
'
Admin settings
'
,
()
=>
{
describe
.
only
(
'
Admin settings
'
,
()
=>
{
before
(()
=>
{
checkIfUserIsAdmin
(
adminUsername
,
adminEmail
,
adminPassword
);
sideNav
.
getChannelFromList
(
'
general
'
).
waitForVisible
(
5000
);
...
...
@@ -167,15 +167,10 @@ describe('Admin settings', () => {
checkIfUserIsValid
(
'
adminCreated
'
+
username
,
'
adminCreated
'
+
email
,
password
);
});
it
(
'
should not show the plus icon on
channels
'
,
()
=>
{
it
(
'
should not show the plus icon on
toolbar
'
,
()
=>
{
sideNav
.
newChannelIcon
.
isVisible
().
should
.
be
.
false
;
});
it
(
'
when clicked should not show the new channel name input
'
,
()
=>
{
sideNav
.
newChannelBtn
.
click
();
sideNav
.
channelName
.
isVisible
().
should
.
be
.
false
;
});
it
(
'
go to general
'
,
()
=>
{
sideNav
.
getChannelFromList
(
'
general
'
).
waitForExist
(
5000
);
sideNav
.
openChannel
(
'
general
'
);
...
...
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