Skip to content

Commit

Permalink
test: ✅ Use qs instead of body
Browse files Browse the repository at this point in the history
Signed-off-by: Javier J. Salmerón García <javier.salmeron@broadcom.com>
  • Loading branch information
javsalgar committed Sep 24, 2024
1 parent abf0e84 commit 144d21a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .vib/grafana-loki/cypress/cypress/e2e/grafana_loki.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ it('checks Loki range endpoint', () => {
cy.request({
method: 'GET',
url: 'loki/api/v1/query',
body: { query: 'sum(rate({job="varlogs"}[10m])) by (level)' },
qs: { query: 'sum(rate({job="varlogs"}[10m])) by (level)' },
form: true,
}).then((response) => {
expect(response.status).to.eq(200);
Expand Down

0 comments on commit 144d21a

Please sign in to comment.