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

Add test helpers #373

Merged
merged 1 commit into from
Sep 9, 2021
Merged

Add test helpers #373

merged 1 commit into from
Sep 9, 2021

Conversation

denniskigen
Copy link
Member

@denniskigen denniskigen commented Sep 9, 2021

Requirements

Summary

Add a file to the root of the repo in the tools directory containing reusable test helper functions. These include:

  • getByTextWithMarkup - allows querying elements that may be broken up by multiple HTML elements using a text matcher.
  • waitForLoadingToFinish - asserts the disappearance of a loading state.

Add a test helpers file with `getByTextWithMarkup` and `waitForLoadingToFinish` helpers.
@denniskigen denniskigen merged commit 67d817a into master Sep 9, 2021
@denniskigen denniskigen deleted the test-helpers branch September 9, 2021 09:16
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