From 67e1029a7ad92beb710ae6757902553069f1a781 Mon Sep 17 00:00:00 2001 From: Renato Atilio Date: Thu, 23 Nov 2023 15:52:40 -0300 Subject: [PATCH] DEV: add leading slash to `visit` in test --- test/javascripts/acceptance/param-input-test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/javascripts/acceptance/param-input-test.js b/test/javascripts/acceptance/param-input-test.js index 89ab188b..19292457 100644 --- a/test/javascripts/acceptance/param-input-test.js +++ b/test/javascripts/acceptance/param-input-test.js @@ -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) { - 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-run .btn.btn-primary")); });