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

Issue #962, Test Case CG6 #1412

Merged
merged 7 commits into from
Dec 23, 2024
Merged

Conversation

VanishedAIR
Copy link
Contributor

Description

Finished writing code for test case CG6 in the file src\server\test\web\readingsCompareGroupQuantity.js, allowing test case CG6 to successfully run.

Done as part of participating in a CTI program to allow developers to get some beginner-friendly open-source experience.

Worked with Regina Huang and Andre Dargani as part of CTI.

Team members:
@VanishedAIR
@laurarian
@madargani

Partly addresses issue #962

Type of change

  • Note merging this changes the database configuration.
  • This change requires a documentation update

Checklist

  • I have followed the OED pull request ideas
  • I have removed text in ( ) from the issue request
  • You acknowledge that every person contributing to this work has signed the OED Contributing License Agreement and each author is listed in the Description section.

Limitations

No additional issues as known.

madargani and others added 6 commits December 2, 2024 09:53
Co-authored-by: Andre Dargani <Mad3913@gmail.com>
Co-authored-by: Regina Huang <huang.rong@northeastern.edu>
@huss
Copy link
Member

huss commented Dec 17, 2024

Thanks to @VanishedAIR, @laurarian & @madargani for this contribution to OED. The OED records do not indicate that @laurarian has signed the CLA. If this is correct, please use the link in the Description Checklist to do this so the pull request can be reviewed. If you think this is incorrect then please let me know.

@RongHuang14
Copy link
Contributor

RongHuang14 commented Dec 17, 2024 via email

@VanishedAIR
Copy link
Contributor Author

VanishedAIR commented Dec 17, 2024

@huss I believe she just submitted the agreement right now, could you confirm you can see it on your end? Thanks!

Copy link
Member

@huss huss left a comment

Choose a reason for hiding this comment

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

Thanks to @VanishedAIR, @laurarian & @madargani for their first contribution to OED. Testing found it works as desired. I made two small comments to address. Also, the files docker-compose.yml, package.json and package-lock.json are modified. Normally these would not be altered by adding a new test. Unless you have a reason for the change then these should be undone. I note that there is a new compile/build error that I'm hoping relates to this but I'll look again after the changes are made. Please let me know if you need anything.

@VanishedAIR
Copy link
Contributor Author

Would it be fine if for the docker-compose.yml, package.json and package-lock.json files I reverted back to the code that is present in the current OED files, because I think they changed when I pulled in some changes.

@huss
Copy link
Member

huss commented Dec 19, 2024

Would it be fine if for the docker-compose.yml, package.json and package-lock.json files I reverted back to the code that is present in the current OED files, because I think they changed when I pulled in some changes.

@VanishedAIR Yes, that should be fine. I think the docker file was changed to allowed access to the Postgres DB. Why the others changed is unclear to me at this time.

 Co-authored-by: Andre Dargani <Mad3913@gmail.com>
 Co-authored-by: Regina Huang <huang.rong@northeastern.edu>
@VanishedAIR
Copy link
Contributor Author

I copy and pasted from the current OED files, and commented the port back to its previous state, and updated the CG6 description. Let me know if anything else needs changes!

@huss
Copy link
Member

huss commented Dec 23, 2024

I am leaving a comment that I realized that the copy/paste that I said was okay changed the git history to show some previous changes in package.json as ones from this PR. I tried to fix but my git ability did not easily make it happen so I am letting it go. It also added some blank lines at the end of a few files. Overall, this is not too important but it will cause developers to have to do an npm install (happens automatically) after they pull this PR.

Copy link
Member

@huss huss left a comment

Choose a reason for hiding this comment

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

Thanks for updating the code and sorry it took me a few days to get back to this. Review and testing found it works as desired. Congratulations to @VanishedAIR, @laurarian & @madargani on your first accepted contribution to OED.

@huss huss merged commit 419a296 into OpenEnergyDashboard:development Dec 23, 2024
3 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.

4 participants