We used many global functions to handle tests when they should be imported like other libraries in our application. This also gets us closer to the way Ember CLI prefers our tests to be laid out.
12 lines
509 B
JavaScript
12 lines
509 B
JavaScript
import { skip } from "qunit";
|
|
import { acceptance } from "discourse/tests/helpers/qunit-helpers";
|
|
acceptance("Admin - Search Log Term", { loggedIn: true });
|
|
|
|
skip("show search log term details", async (assert) => {
|
|
await visit("/admin/logs/search_logs/term?term=ruby");
|
|
|
|
assert.ok($("div.search-logs-filter").length, "has the search type filter");
|
|
assert.ok(exists("canvas.chartjs-render-monitor"), "has graph canvas");
|
|
assert.ok(exists("div.header-search-results"), "has header search results");
|
|
});
|