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
c5dec0a8
Commit
c5dec0a8
authored
8 years ago
by
Karl Prieb
Browse files
Options
Downloads
Patches
Plain Diff
fix tests
parent
c43eceef
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/end-to-end/ui/13-permissions.js
+1
-5
1 addition, 5 deletions
tests/end-to-end/ui/13-permissions.js
tests/pageobjects/side-nav.page.js
+1
-0
1 addition, 0 deletions
tests/pageobjects/side-nav.page.js
with
2 additions
and
5 deletions
tests/end-to-end/ui/13-permissions.js
+
1
−
5
View file @
c5dec0a8
...
@@ -176,10 +176,6 @@ describe('Admin settings', () => {
...
@@ -176,10 +176,6 @@ describe('Admin settings', () => {
sideNav
.
channelName
.
isVisible
().
should
.
be
.
false
;
sideNav
.
channelName
.
isVisible
().
should
.
be
.
false
;
});
});
it
(
'
should not show the plus icon on direct messages
'
,
()
=>
{
sideNav
.
newDirectMessageIcon
.
isVisible
().
should
.
be
.
false
;
});
it
(
'
go to general
'
,
()
=>
{
it
(
'
go to general
'
,
()
=>
{
sideNav
.
getChannelFromList
(
'
general
'
).
waitForExist
(
5000
);
sideNav
.
getChannelFromList
(
'
general
'
).
waitForExist
(
5000
);
sideNav
.
openChannel
(
'
general
'
);
sideNav
.
openChannel
(
'
general
'
);
...
@@ -198,4 +194,4 @@ describe('Admin settings', () => {
...
@@ -198,4 +194,4 @@ describe('Admin settings', () => {
//waiting for changes in the edit-message permission
//waiting for changes in the edit-message permission
});
});
});
});
});
});
\ No newline at end of file
This diff is collapsed.
Click to expand it.
tests/pageobjects/side-nav.page.js
+
1
−
0
View file @
c5dec0a8
...
@@ -12,6 +12,7 @@ class SideNav extends Page {
...
@@ -12,6 +12,7 @@ class SideNav extends Page {
get
accountBoxUserAvatar
()
{
return
browser
.
element
(
'
.account-box .avatar-image
'
);
}
get
accountBoxUserAvatar
()
{
return
browser
.
element
(
'
.account-box .avatar-image
'
);
}
get
newChannelBtn
()
{
return
browser
.
element
(
'
.toolbar-search__create-channel
'
);
}
get
newChannelBtn
()
{
return
browser
.
element
(
'
.toolbar-search__create-channel
'
);
}
get
newChannelIcon
()
{
return
browser
.
element
(
'
.toolbar-search__create-channel.icon-plus
'
);
}
get
moreChannels
()
{
return
browser
.
element
(
'
.rooms-list .more-channels
'
);
}
get
moreChannels
()
{
return
browser
.
element
(
'
.rooms-list .more-channels
'
);
}
get
newDirectMessageBtn
()
{
return
browser
.
element
(
'
.rooms-list .add-room:nth-of-type(2)
'
);
}
get
newDirectMessageBtn
()
{
return
browser
.
element
(
'
.rooms-list .add-room:nth-of-type(2)
'
);
}
...
...
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