DEV: this class is no longer present in chart js 3.x (#132)
This commit is contained in:
parent
2ed9c505a7
commit
ee3c6f4e2d
|
@ -186,9 +186,6 @@ acceptance("Data Explorer Plugin | Run Query", function (needs) {
|
||||||
|
|
||||||
await click("div.result-info button:nth-child(3)");
|
await click("div.result-info button:nth-child(3)");
|
||||||
|
|
||||||
assert.ok(
|
assert.ok(exists("canvas"), "the chart was rendered");
|
||||||
exists("canvas.chartjs-render-monitor"),
|
|
||||||
"the chart was rendered"
|
|
||||||
);
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
@ -20,10 +20,6 @@ discourseModule(
|
||||||
|
|
||||||
async test(assert) {
|
async test(assert) {
|
||||||
assert.ok(exists("canvas"), "it renders a canvas");
|
assert.ok(exists("canvas"), "it renders a canvas");
|
||||||
assert.ok(
|
|
||||||
exists("canvas.chartjs-render-monitor"),
|
|
||||||
"it initializes chart.js "
|
|
||||||
);
|
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -139,10 +139,7 @@ discourseModule(
|
||||||
I18n.t("explorer.show_table"),
|
I18n.t("explorer.show_table"),
|
||||||
"the chart button was changed to the table button"
|
"the chart button was changed to the table button"
|
||||||
);
|
);
|
||||||
assert.ok(
|
assert.ok(exists("canvas"), "the chart was rendered");
|
||||||
exists("canvas.chartjs-render-monitor"),
|
|
||||||
"the chart was rendered"
|
|
||||||
);
|
|
||||||
|
|
||||||
await click("div.result-info button:nth-child(3)");
|
await click("div.result-info button:nth-child(3)");
|
||||||
assert.equal(
|
assert.equal(
|
||||||
|
|
Loading…
Reference in New Issue