Commit 03c76a34 authored by Mikael Salson's avatar Mikael Salson Committed by Mathieu Giraud

scatterPlot_test.js: Circle and bar IDs changed

Follows e990f900
parent 7aa84d36
......@@ -27,13 +27,13 @@ QUnit.test("grid", function(assert) {
sp.update()
assert.equal(sp.axisX.pos(1), sp.axisY.pos(1), "check splitMethod V/V /plot : xpos = ypos");
assert.equal(sp.axisX.pos(1), sp.axisY.pos(1), "check splitMethod V/V /plot : xpos = ypos");
assert.equal(document.getElementById("circle1").className.baseVal, "circle", "check splitMethod V/V /plot : check if plot are displayed")
assert.equal(document.getElementById("visu_circle1").className.baseVal, "circle", "check splitMethod V/V /plot : check if plot are displayed")
sp.switchMode()
assert.equal(sp.mode, sp.MODE_BAR)
sp.update()
assert.equal(document.getElementById("bar1").className.baseVal, "", "check splitMethod V/V /plot : check if bar are displayed")
assert.equal(document.getElementById("visu_bar1").className.baseVal, "", "check splitMethod V/V /plot : check if bar are displayed")
assert.equal(sp.axisX.labels[0].text, "IGHV1-2", "first label for 'gene_v' axis is 'IGHV1-2'")
assert.equal(sp.axisX.labels[1].text, "?", "second label for 'gene_v' axis is '?'")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment