FIX: Groups list does not refresh when query changes. (#6481)
This commit is contained in:
committed by
Régis Hanol
parent
1b0fbc4d30
commit
ded5ff90aa
@@ -3,6 +3,10 @@ import { acceptance } from "helpers/qunit-helpers";
|
||||
acceptance("Groups");
|
||||
|
||||
QUnit.test("Browsing Groups", async assert => {
|
||||
await visit("/groups?username=eviltrout");
|
||||
|
||||
assert.equal(count(".groups-table-row"), 1, "it displays user's groups");
|
||||
|
||||
await visit("/groups");
|
||||
|
||||
assert.equal(count(".groups-table-row"), 2, "it displays visible groups");
|
||||
|
||||
Reference in New Issue
Block a user