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 query building tests #263

Merged
merged 25 commits into from
Jan 27, 2025
Merged

add query building tests #263

merged 25 commits into from
Jan 27, 2025

Conversation

fzhao99
Copy link
Collaborator

@fzhao99 fzhao99 commented Jan 13, 2025

PULL REQUEST

Summary

Adding a suite of tests (including an e2e thanks to the hard work of @katyasoup!) for the query building flow

  • Seeded our first component test, which has some patterns / introduces some utilities that we should start adopting in subsequent frontend unit tests as discussed in 1/23 eng sync

There are some tests that I think are flaking due to improper test cleanup / parallelization, but are passing in the retries. Think I'll go ahead and merge this, but will keep an eye on this and maybe write some code to more properly reset the testing env in between tests if there are issues down the line.

If anyone wants to address this now though happy to try getting the tests fully determinate

Checklist

  • Descriptive Pull Request title
  • Update documentation

@fzhao99 fzhao99 marked this pull request as ready for review January 23, 2025 18:13
@fzhao99 fzhao99 requested a review from m-goggins January 27, 2025 16:21
Copy link
Collaborator

@robertandremitchell robertandremitchell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, a few edge tests were flaky, but I know running locally has always been a tad more fragile on my machine fwiw

 2 flaky
    [Microsoft Edge] › customize_query.spec.ts:115:7 › querying with the Query Connector › customize query select / deselect all filters whole DibbsConceptType, across tabs 
    [Microsoft Edge] › query_workflow.spec.ts:43:7 › querying with the Query Connector › successful demo user query 

@fzhao99 fzhao99 merged commit ca0d354 into main Jan 27, 2025
11 checks passed
@fzhao99 fzhao99 deleted the bob/query-building-tests branch January 27, 2025 19:03
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