Fix cloud UI sanity tests (#212368)

## Summary

This PR fixes the `Querying provider data` tests executed on the
`Findings` page.

Sanity UI tests successfully
[run](3783519246).

![Screenshot 2025-02-26 at 10 27
31](https://github.com/user-attachments/assets/f2447f62-fafa-4e58-a98c-5abbf7f08c42)
This commit is contained in:
Dmitry Gurevich 2025-02-26 10:28:18 +02:00 committed by GitHub
parent d348f746ff
commit d685e54225
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -93,7 +93,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
expect(rowsCount).to.be(expectedRowsCount);
const groupSelector = await findings.groupSelector();
await groupSelector.openDropDown();
await groupSelector.setValue('Cloud account');
await groupSelector.setValue('Cloud account ID');
const grouping = await findings.findingsGrouping();
// Check that the group count and unit count matches the expected values
const groupCount = await grouping.getGroupCount();