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

test: add initial GUI test #94

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
Open

Conversation

jcharkow
Copy link

@jcharkow jcharkow commented Nov 13, 2024

Add GUI tests - See notes below

just test for launching each page and ensuring there is not an
exception. Currenly having trouble with quickstart.

Also add documentation specific tests
fix tests for view_ms_raw_data and file_upload
@jcharkow
Copy link
Author

This is now ready for review. It seems that the ci.yml test is only shown on my personal branch but all the tests seem to pass. It is not extensive testing as extensive testing with a GUI is difficult but it is something.

@jcharkow jcharkow marked this pull request as ready for review December 11, 2024 13:34
@jcharkow
Copy link
Author

TODO: Extend tests to TOPP tools

note currently spectrum visualization is not tested because cannot find
a way to select a spectrum to be displayed.
@jcharkow
Copy link
Author

Notes:

  1. Double check I did not mess up captcha with merge conflicts
  2. Testing framework is only limited to the pyopenms table for now. Plan to add TOPP tests in the future
  3. Testing framework in streamlit is not as extensive as main streamlit app. Difficult to test everything programmatically.

bugs in testing framework caused tests to fail, fix this
@jcharkow
Copy link
Author

note there is also a test.py file with tests Axel added.

@jcharkow jcharkow requested a review from t0mdavid-m January 22, 2025 23:23
@jcharkow jcharkow linked an issue Jan 22, 2025 that may be closed by this pull request
@jcharkow
Copy link
Author

Move test.py and test_gui.py to same folder

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.

WebApps: CI Testing
1 participant