DEV: add leading slash to `visit` in test (#266)

This commit is contained in:
Renato Atilio 2023-11-23 16:34:09 -03:00 committed by GitHub
parent e468cf8ab0
commit 840caa3987
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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&params={"user":null}'); await visit('/admin/plugins/explorer?id=-7&params={"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"));
}); });