Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
vidjil
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1,696
Issues
1,696
List
Boards
Labels
Service Desk
Milestones
Merge Requests
89
Merge Requests
89
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
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
browser/test/functional/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