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…
Reference in New Issue