-
Notifications
You must be signed in to change notification settings - Fork 33
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
Write new tests from scratch that query using im.js #71
Comments
@dmahajan980, I believe trying to solve |
@lazycipher currently @Zemotacqy is solving the CORS issue. But I guess it would be better to make the tests functional till the time CORS isn't fixed. Maybe we can move back to HumanMine later once the CORS is fixed. |
@dmahajan980, He started working on that 13 days ago. I guess it'll be better to ask for an update and then we may proceed if he'll be needing more time! |
I think that fixing the CORS issue is a high priority at the moment. I don't know if Zemotacqy has actually made any progress, but worth just trying to solve it instead of waiting. |
The CORS issue was fixed in #33 by removing the Express middle layer and using directly im.js, so we can now re-write the tests using im.js queries. |
Hi @AdrianBZG , I’m an outreachy applicant and I would like to take up this issue |
Hi, Can I try this out? |
Hi, I'm an outreachy applicant and I will like to work on this issue. |
I created a pull request with hopefully a solution to the issue, however I don't think my solution maybe what is expected and I will like to get a feedback. @AdrianBZG |
Hi @dmahajan980 I am an Outreachy applicant and I will like to pick this up. I have got some experience with unit and integration testing in Nodejs. |
Hi, @Joyce-O added a test using im.js that makes the 'npm test' work now, but we would like to have a larger list of tests that checks that (almost) every query used by the app is tested in the tests. Happy if anyone wants to pick this up. |
Hi @AdrianBZG, I am Outreachy aspirant and want to take the task for writing the tests. I want to discuss that when I am trying to fetch json data from |
Alright, I will update it then. |
Currently the data being displayed was mock data. This commit calls the correct api endpoints and feeds the component actual data to render. It does not currently persist the state, or virtualize the menu items. * Fetch organism available values * Fetch pathway name available values * Fetch GO Annotation available values * Fetch Pie chart initial values * Fetch BarChart initial values * Fetch Table initial values
Description
Currently the tests fail due to the fact that HumanMine is HTTPS and we have issues with CORS
Steps to Reproduce
Run
npm test
Expected Behaviour
All tests should pass.
Actual Behaviour
All the tests fail.
Settings
Screenshots
The text was updated successfully, but these errors were encountered: