mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 10:58:38 +08:00
FEATURE: displays a notice if report has no data (#6178)
This commit is contained in:
parent
6ee1ea96ef
commit
ad95c24307
5 changed files with 28 additions and 2 deletions
|
@ -115,3 +115,11 @@ componentTest("timeout", {
|
|||
assert.ok(exists(".alert-error"), "it displays a timeout error");
|
||||
}
|
||||
});
|
||||
|
||||
componentTest("no data", {
|
||||
template: "{{admin-report dataSourceName='posts'}}",
|
||||
|
||||
test(assert) {
|
||||
assert.ok(exists(".no-data-alert"), "it displays a no data alert");
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue