FIX: update test to match new admin layout

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

View File

@ -129,7 +129,7 @@ QUnit.test("topics with flags", assert => {
andThen(() => { andThen(() => {
assert.equal(find(".flagged-topics .flagged-topic").length, 1); assert.equal(find(".flagged-topics .flagged-topic").length, 1);
assert.equal(find(".flagged-topic .flagged-topic-user").length, 2); assert.equal(find(".flagged-topic .flagged-topic-user").length, 2);
assert.equal(find(".flagged-topic .flag-counts").length, 3); assert.equal(find(".flagged-topic div.flag-counts").length, 3);
}); });
click(".flagged-topic .show-details"); click(".flagged-topic .show-details");