c-code-x / codex-website

https://codex-website-nu.vercel.app
5 stars 17 forks source link

Pull Request: Added Cypress Test and Tested e2e CP Problem Generator #93

Closed SaiSantoshPradyumna closed 3 weeks ago

SaiSantoshPradyumna commented 3 weeks ago

Pull Request: Added Cypress Test and Tested e2e CP Problem Generator

Summary

This pull request focuses on the addition of the Cypress node package to the repository and the successful testing of the workflow from the homepage to the resources, to competitive programming, and finally to the generation of test cases by filling out the form using end-to-end (e2e) testing in Microsoft, Electron, and Firefox browsers.

Changes

Conclusion

This pull request successfully integrates the Cypress testing framework into the repository, enhancing our automated testing capabilities for the first time ever to our repo CODEX-WEBSITE, for the Cp Questions generator page . The newly added e2e test validates the complete workflow of the competitive programming problem generator, ensuring it functions correctly from the homepage through to the generation of test cases. This integration supports testing across multiple browsers, including Microsoft, Electron, and Firefox, ensuring cross-browser compatibility and reliability. Additionally, the configuration adjustments in cypress.config.ts and package.json streamline the testing process, making it more efficient and consistent.