FIX: update test to match admin layout changes

This commit is contained in:
Joe 2018-07-03 16:28:57 +08:00 committed by GitHub
parent b71cf6d422
commit 9834263687
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@ acceptance("Admin - Search Logs", { loggedIn: true });
QUnit.test("show search logs", assert => { QUnit.test("show search logs", assert => {
visit("/admin/logs/search_logs"); visit("/admin/logs/search_logs");
andThen(() => { andThen(() => {
assert.ok($("div.table.search-logs-list").length, "has the div class"); assert.ok($("table.search-logs-list.grid").length, "has the div class");
assert.ok( assert.ok(
exists(".search-logs-list .admin-list-item .col"), exists(".search-logs-list .admin-list-item .col"),
"has a list of search logs" "has a list of search logs"