Skip to content

Add Frontend Tests & Fix Election Loading Bug #137

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

Conversation

ParagGhatage
Copy link
Contributor

@ParagGhatage ParagGhatage commented Feb 20, 2025

Summary

This PR introduces frontend tests for all pages and integrates them with GitHub Actions for automated testing. Additionally, it fixes a bug that caused elections not to load properly.

Changes Made

  • Added frontend tests for all pages.
  • Integrated tests with GitHub Actions for CI/CD automation.
  • Fixed a bug where elections were not loading correctly.

How to Test

  1. Run the test suite locally:
    npm run test
  2. Check GitHub Actions to ensure tests run successfully in the CI pipeline.
  3. Verify that the elections page loads correctly without issues.

Checklist

  • Frontend tests added for all pages.
  • GitHub Actions successfully running tests.
  • Election loading bug fixed.
  • Code follows the project's style guidelines.

Related Issues

Fixes: #122
Fixes: #98

sadariya vasu and others added 6 commits January 10, 2025 20:08
@ParagGhatage
Copy link
Contributor Author

@Ronnieraj37 ,
Entire testing workflow is ready to be merged.

@ParagGhatage
Copy link
Contributor Author

@Ronnieraj37 ,
I have resolved all the merge conflicts.

Testing workflow is ready to be merged.

@Ronnieraj37
Copy link
Contributor

Screenshot 2025-02-25 at 1 23 16 PM Getting the same navbar in this repo!

@ParagGhatage
Copy link
Contributor Author

ParagGhatage commented Feb 25, 2025

@Ronnieraj37 ,
I changed GitHub workflows and added tests files.

I didnt touch any Header.tsx frontend files.
You can check the files changed in this PR.

@ParagGhatage ParagGhatage closed this by deleting the head repository May 29, 2025
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.

Lack of Frontend Testing and GitHub Actions for Automated Tests BUG : Infinite Loading on Profile Page Due to Error
4 participants