From 38d3bec0744bb12c0d6f47084601fb5387a4ae0e Mon Sep 17 00:00:00 2001 From: Martavis Parker <47053705+martavis@users.noreply.github.com> Date: Mon, 14 Jun 2021 11:27:20 -0700 Subject: [PATCH] Corrected API route for testing (#1078) * Closes #922 * #922 added Windows section to build docs * go sum updated * updated go sum * fixed #963 - calling teams api if not on core * added command for seeding queries * added command default to higher level * linted test * only need 2 queries * fixed e2e command for seeding queries --- cypress/support/commands.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/support/commands.ts b/cypress/support/commands.ts index 679a441b51..570900d783 100644 --- a/cypress/support/commands.ts +++ b/cypress/support/commands.ts @@ -75,7 +75,7 @@ Cypress.Commands.add("seedQueries", () => { queries.forEach((queryForm) => { const { name, query, description, observer_can_run } = queryForm; cy.request({ - url: "/v1/fleet/queries", + url: "/api/v1/fleet/queries", method: "POST", body: { name, query, description, observer_can_run }, auth: {