Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wait for pager buttons to become clickable before clicking them #1802

Merged
merged 1 commit into from
Jan 23, 2024

Conversation

labkey-chrisj
Copy link
Contributor

Rationale

While debugging a failure in BiologicsReportTest.testReportSearchFilter, I realized that Pager.clickNext() does not ensure the next button is enabled before clicking

This means that unless tests are checking to see if it is, some could be (as testReportSearchFilter was) blindly clicking 'next' and assuming they were on the next page, but were still on the same page. This change should make that more strict

Related Pull Requests

https://github.com/LabKey/biologics/pull/2662

Changes

wait for next and prev to be enabled before clicking them

@labkey-chrisj labkey-chrisj merged commit f41c894 into develop Jan 23, 2024
4 checks passed
@labkey-chrisj labkey-chrisj deleted the fb_pagerNextPrevButtonWaitForClickable branch January 23, 2024 17:46
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.

2 participants