Skip to content

Commit

Permalink
[Inventory] Fix the link to discover test (elastic#201197)
Browse files Browse the repository at this point in the history
Closes elastic#201189

## Summary

After this fix was added in
elastic#200984 the test started failing
as it was verifying the previous kuery value - it was missing the `" "`
so after this bug was fixed the test should be updated as well
(basically changing `container.id:foo` with `container.id:"foo"`) and
this PR updates the test.

I checked locally and the test is passing now.

(cherry picked from commit 74cf5d4)
  • Loading branch information
jennypavlova committed Nov 22, 2024
1 parent 8eb67bd commit 1637c23
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ describe('Home page', () => {
cy.getByTestSubj('inventoryEntityActionOpenInDiscover').click();
cy.url().should(
'include',
"query:'container.id:%20foo%20AND%20entity.definition_id%20:%20builtin*"
"query:'container.id:%20%22foo%22%20AND%20entity.definition_id%20:%20builtin*"
);
});
});
Expand Down

0 comments on commit 1637c23

Please sign in to comment.