[Inventory] Fix the link to discover test (#201197)

Closes #201189

## Summary

After this fix was added in
https://github.com/elastic/kibana/pull/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.
This commit is contained in:
jennypavlova 2024-11-21 18:14:43 +01:00 committed by GitHub
parent 414d2a4948
commit 74cf5d4578
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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*"
);
});
});