DEV: this class is no longer present in chart js 3.x (#132)

This commit is contained in:
Joffrey JAFFEUX 2021-08-23 11:04:40 +02:00 committed by GitHub
parent 2ed9c505a7
commit ee3c6f4e2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 12 deletions

View File

@ -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"
);
}); });
}); });

View File

@ -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 "
);
}, },
}); });
} }

View File

@ -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(