DEV: Update visit paths in tests (#265)
Omitting `/` prefix was incorrect and could break in the future (see: https://github.com/discourse/discourse/pull/24445)
This commit is contained in:
@@ -299,7 +299,7 @@ acceptance("Data Explorer Plugin | Param Input", function (needs) {
|
||||
});
|
||||
|
||||
test("it puts params for the query into the url", async function (assert) {
|
||||
await visit("admin/plugins/explorer?id=-6");
|
||||
await visit("/admin/plugins/explorer?id=-6");
|
||||
const monthsAgoValue = "2";
|
||||
await fillIn(".query-params input", monthsAgoValue);
|
||||
await click("form.query-run button");
|
||||
|
||||
Reference in New Issue
Block a user