mirror of
https://github.com/discourse/discourse-data-explorer.git
synced 2025-02-16 16:34:47 +00:00
DEV: add leading slash to visit
in test (#266)
This commit is contained in:
parent
e468cf8ab0
commit
840caa3987
@ -310,7 +310,7 @@ acceptance("Data Explorer Plugin | Param Input", function (needs) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
test("it loads the page if one of the parameter is null", async function (assert) {
|
test("it loads the page if one of the parameter is null", async function (assert) {
|
||||||
await visit('admin/plugins/explorer?id=-7¶ms={"user":null}');
|
await visit('/admin/plugins/explorer?id=-7¶ms={"user":null}');
|
||||||
assert.ok(exists(".query-params .user-chooser"));
|
assert.ok(exists(".query-params .user-chooser"));
|
||||||
assert.ok(exists(".query-run .btn.btn-primary"));
|
assert.ok(exists(".query-run .btn.btn-primary"));
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user