Skip to content

Commit

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

## Summary

After this fix was added in
#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.
  • Loading branch information
jennypavlova authored Nov 21, 2024
1 parent 414d2a4 commit 74cf5d4
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 74cf5d4

Please sign in to comment.