Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
4df0cf0e
Commit
4df0cf0e
authored
May 31, 2017
by
Téo Vasseur
Committed by
Mathieu Giraud
Oct 10, 2017
Browse files
test_analysis-example1.rb : add test_01_double_scatterplot
See
#2493
parent
1296bd77
Changes
1
Show whitespace changes
Inline
Side-by-side
browser/test/functional/test_analysis-example1.rb
View file @
4df0cf0e
...
@@ -15,6 +15,12 @@ class TestSimple < BrowserTest
...
@@ -15,6 +15,12 @@ class TestSimple < BrowserTest
assert
(
$b
.
graph
().
style
(
'height'
)
==
'0px'
),
"Graph should be hidden"
assert
(
$b
.
graph
().
style
(
'height'
)
==
'0px'
),
"Graph should be hidden"
end
end
def
test_00_double_scatterplot
# analysis-example has only one sample, second scatterplot expected
assert
(
$b
.
div
(
:id
=>
'visu'
,
:class
=>
'scatterplot'
).
exists?
),
"First scatterplot should be found"
assert
(
$b
.
div
(
:id
=>
'visu2'
,
:class
=>
'scatterplot'
).
exists?
),
"Second scatterplot should be found"
end
def
test_01_legend_scatterplot
def
test_01_legend_scatterplot
assert
(
$b
.
scatterplot_x_legend
(
0
).
text
==
"TRGV5"
),
"First legend should be TRGV5"
assert
(
$b
.
scatterplot_x_legend
(
0
).
text
==
"TRGV5"
),
"First legend should be TRGV5"
assert
(
$b
.
scatterplot_y_legend
(
0
).
text
==
"TRGJ1"
),
"First legend should be TRGJ1"
assert
(
$b
.
scatterplot_y_legend
(
0
).
text
==
"TRGJ1"
),
"First legend should be TRGJ1"
...
...
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