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
8deee3b2
Commit
8deee3b2
authored
7 years ago
by
Rodrigo Nascimento
Browse files
Options
Downloads
Patches
Plain Diff
ESLint: Prevent duplicated class members
parent
61a7c630
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.eslintrc
+1
-0
1 addition, 0 deletions
.eslintrc
tests/pageobjects/flex-tab.page.js
+0
-1
0 additions, 1 deletion
tests/pageobjects/flex-tab.page.js
tests/pageobjects/main-content.page.js
+0
-2
0 additions, 2 deletions
tests/pageobjects/main-content.page.js
with
1 addition
and
3 deletions
.eslintrc
+
1
−
0
View file @
8deee3b2
...
@@ -27,6 +27,7 @@
...
@@ -27,6 +27,7 @@
"no-delete-var": 2,
"no-delete-var": 2,
"no-dupe-keys": 2,
"no-dupe-keys": 2,
"no-dupe-args": 2,
"no-dupe-args": 2,
"no-dupe-class-members": 2,
"no-duplicate-case": 2,
"no-duplicate-case": 2,
"no-empty": 2,
"no-empty": 2,
"no-empty-character-class": 2,
"no-empty-character-class": 2,
...
...
This diff is collapsed.
Click to expand it.
tests/pageobjects/flex-tab.page.js
+
0
−
1
View file @
8deee3b2
...
@@ -63,7 +63,6 @@ class FlexTab extends Page {
...
@@ -63,7 +63,6 @@ class FlexTab extends Page {
get
secondSetting
()
{
return
browser
.
element
(
'
.clearfix li:nth-child(2) .current-setting
'
);
}
get
secondSetting
()
{
return
browser
.
element
(
'
.clearfix li:nth-child(2) .current-setting
'
);
}
get
thirdSetting
()
{
return
browser
.
element
(
'
.clearfix li:nth-child(3) .current-setting
'
);
}
get
thirdSetting
()
{
return
browser
.
element
(
'
.clearfix li:nth-child(3) .current-setting
'
);
}
get
fourthSetting
()
{
return
browser
.
element
(
'
.clearfix li:nth-child(4) .current-setting
'
);
}
get
fourthSetting
()
{
return
browser
.
element
(
'
.clearfix li:nth-child(4) .current-setting
'
);
}
get
editNameTextInput
()
{
return
browser
.
element
(
'
.channel-settings input[name="name"]
'
);
}
get
editNameSave
()
{
return
browser
.
element
(
'
.channel-settings .save
'
);
}
get
editNameSave
()
{
return
browser
.
element
(
'
.channel-settings .save
'
);
}
get
memberUserName
()
{
return
browser
.
element
(
'
.info h3
'
);
}
get
memberUserName
()
{
return
browser
.
element
(
'
.info h3
'
);
}
get
memberRealName
()
{
return
browser
.
element
(
'
.info p
'
);
}
get
memberRealName
()
{
return
browser
.
element
(
'
.info p
'
);
}
...
...
This diff is collapsed.
Click to expand it.
tests/pageobjects/main-content.page.js
+
0
−
2
View file @
8deee3b2
...
@@ -16,13 +16,11 @@ class MainContent extends Page {
...
@@ -16,13 +16,11 @@ class MainContent extends Page {
get
popupFileConfirmBtn
()
{
return
browser
.
element
(
'
.sa-confirm-button-container .confirm
'
);
}
get
popupFileConfirmBtn
()
{
return
browser
.
element
(
'
.sa-confirm-button-container .confirm
'
);
}
get
popupFileName
()
{
return
browser
.
element
(
'
#file-name
'
);
}
get
popupFileName
()
{
return
browser
.
element
(
'
#file-name
'
);
}
get
popupFileDescription
()
{
return
browser
.
element
(
'
#file-description
'
);
}
get
popupFileDescription
()
{
return
browser
.
element
(
'
#file-description
'
);
}
get
popupFileConfirmBtn
()
{
return
browser
.
element
(
'
.sa-confirm-button-container .confirm
'
);
}
get
popupFilePreview
()
{
return
browser
.
element
(
'
.upload-preview-file
'
);
}
get
popupFilePreview
()
{
return
browser
.
element
(
'
.upload-preview-file
'
);
}
get
popupFileTitle
()
{
return
browser
.
element
(
'
.upload-preview-title
'
);
}
get
popupFileTitle
()
{
return
browser
.
element
(
'
.upload-preview-title
'
);
}
get
popupFileCancelBtn
()
{
return
browser
.
element
(
'
.sa-button-container .cancel
'
);
}
get
popupFileCancelBtn
()
{
return
browser
.
element
(
'
.sa-button-container .cancel
'
);
}
get
lastMessageUser
()
{
return
browser
.
element
(
'
.message:last-child .user-card-message:nth-of-type(2)
'
);
}
get
lastMessageUser
()
{
return
browser
.
element
(
'
.message:last-child .user-card-message:nth-of-type(2)
'
);
}
get
lastMessage
()
{
return
browser
.
element
(
'
.message:last-child .body
'
);
}
get
lastMessage
()
{
return
browser
.
element
(
'
.message:last-child .body
'
);
}
get
lastMessageImg
()
{
return
browser
.
element
(
'
.message:last-child .body .inline-image
'
);
}
get
lastMessageDesc
()
{
return
browser
.
element
(
'
.message:last-child .body .attachment-description
'
);
}
get
lastMessageDesc
()
{
return
browser
.
element
(
'
.message:last-child .body .attachment-description
'
);
}
get
lastMessageRoleAdded
()
{
return
browser
.
element
(
'
.message:last-child.subscription-role-added .body
'
);
}
get
lastMessageRoleAdded
()
{
return
browser
.
element
(
'
.message:last-child.subscription-role-added .body
'
);
}
get
beforeLastMessage
()
{
return
browser
.
element
(
'
.message:nth-last-child(2) .body
'
);
}
get
beforeLastMessage
()
{
return
browser
.
element
(
'
.message:nth-last-child(2) .body
'
);
}
...
...
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