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

testing: Add helper function to wait for a record to enter a certain … #59

Merged
merged 2 commits into from
Oct 25, 2024

Conversation

andrewwormald
Copy link
Collaborator

@andrewwormald andrewwormald commented Oct 25, 2024

This PR adds a testing helper function where you can wait for a specific state of the workflow run. Instead of adding lots of helpers I went with a single function approach where the user can define the condition in their own function and provide that as an option.

All Submissions:

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Checklist before requesting a review

  • I have performed a self-review of my code
  • I have added thorough tests, if appropriate.

New Feature Submissions:

  1. Does your submission pass tests?
  2. Did you install pre-commit hooks before committing?

Changes to Core Features:

  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your core changes, as applicable?

Copy link

sonarcloud bot commented Oct 25, 2024

@andrewwormald andrewwormald marked this pull request as ready for review October 25, 2024 09:21
@andrewwormald andrewwormald self-assigned this Oct 25, 2024
testing.go Show resolved Hide resolved
@andrewwormald andrewwormald merged commit ab0a809 into main Oct 25, 2024
7 checks passed
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