Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
vidjil
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1,250
Issues
1,250
List
Board
Labels
Milestones
Merge Requests
35
Merge Requests
35
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vidjil
vidjil
Commits
e541ea4d
Commit
e541ea4d
authored
Jan 21, 2019
by
flothoni
Committed by
Mathieu Giraud
Feb 05, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test_multilocus; add tests for tag selection
link to
#1292
parent
c9f977d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
0 deletions
+25
-0
test_multilocus.rb
browser/test/functional/test_multilocus.rb
+25
-0
No files found.
browser/test/functional/test_multilocus.rb
View file @
e541ea4d
...
...
@@ -352,6 +352,31 @@ class TestMultilocus < BrowserTest
end
end
def
test_19_edit_tag
begin
$b
.
clone_in_scatterplot
(
'77'
).
click
$b
.
clone_in_scatterplot
(
'25'
).
click
(
:control
)
$b
.
clone_in_scatterplot
(
'88'
).
click
(
:control
)
$b
.
clone_in_scatterplot
(
'90'
).
click
(
:control
)
## Test tag selection for one clone
$b
.
clone_info
(
'25'
)[
:star
].
click
$b
.
span
(
"tagColor0"
).
click
assert
(
$b
.
clone_info
(
'25'
)[
:name
].
style
(
'color'
)
==
'rgba(220, 50, 47, 1)'
)
,
"clone 25 have changed color"
assert
(
not
$b
.
clone_info
(
'88'
)[
:name
].
style
(
'color'
)
==
'rgba(220, 50, 47, 1)'
)
,
"clone 88 (second of the selection) haven't chaged color "
## Test tag selection for multiple clone
$b
.
i
(
"tag_icon__multiple"
).
click
$b
.
span
(
"tagColor6"
).
click
assert
(
$b
.
clone_info
(
'25'
)[
:name
].
style
(
'color'
)
==
'rgba(211, 54, 130, 1)'
)
,
"clone 25 have also changed color"
assert
(
$b
.
clone_info
(
'77'
)[
:name
].
style
(
'color'
)
==
'rgba(211, 54, 130, 1)'
)
,
"clone 77 have also changed color"
assert
(
$b
.
clone_info
(
'88'
)[
:name
].
style
(
'color'
)
==
'rgba(211, 54, 130, 1)'
)
,
"clone 88 have also changed color"
end
end
# Not really a test
def
test_zz_close
close_everything
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment