Skip to content

Conversation

@v-baambati
Copy link
Collaborator

No description provided.

@v-baambati v-baambati changed the title Updated v9 charts screenshots Added snapshot testing for v9 charts download button and handled lazy loading finicality in test for schema's selection list Dec 5, 2025
await combobox.nth(1).click();
const listitems = listbox.last().getByRole('option');
// Check if the index is available, if not scroll listbox to load more items
let totalOptions = await listitems.count();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how are you handling lazy loading

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automatically scrolls a virtualized listbox to load more options until the desired index is available or a maximum attempt limit is reached
Max attempt value is 5 for now
if request index is available in the list then it will break the loop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants