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

await expected conditions after tab delete #1601

Merged
merged 1 commit into from
Aug 4, 2023

Conversation

labkey-chrisj
Copy link
Contributor

@labkey-chrisj labkey-chrisj commented Aug 4, 2023

Rationale

Recently TabTest has been failing because asserts intended to verify the count of body webparts after deleting a tab seem to either be happening more quickly than before, or the re-rendering of the page after deleting a tab is taking longer than it did.

Also, this change awaits the expected active tab after deleting a tab, versus failing if it's not instantly present

Related Pull Requests

n/a

Changes

  • await non-zero body webpart count after deleting a tab, vs. asserting without waiting
  • await expected active tab, vs. asserting it to be instantly present

@labkey-matthewb labkey-matthewb merged commit edd7162 into develop Aug 4, 2023
2 checks passed
@labkey-matthewb labkey-matthewb deleted the fb_waitForTabChanges branch August 4, 2023 23:49
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