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 comment text area to exist before interacting #1582

Merged
merged 2 commits into from
Jul 25, 2023

Conversation

labkey-chrisj
Copy link
Contributor

Rationale

Recently tests have been observed to fail while interacting with a DeleteConfirmationDialog because framework code assumes the comment textArea element will be present and interactable. Artifacts show it to be absent, a loading spinner being shown.

This causes DeleteConfirmationDialog to wait for its body element to be displayed, and for the dialog to not contain a loading spinner, and it now waits for up to a second for the comment textarea to be present, hopefully that will prevent test noise/uninteresting failures

Related Pull Requests

n/a

Changes

  • wait for up to a second for the textArea to be present
  • implement waitForReady for DeleteConfirmationDialog

@labkey-chrisj labkey-chrisj merged commit af9702b into develop Jul 25, 2023
1 check passed
@labkey-chrisj labkey-chrisj deleted the fb_waitForDialogTextArea branch July 25, 2023 16:37
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