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
Added the Cypress package to the project dependencies.
Created a new test file named cp-generator.cy.ts under the e2e folder. This test file runs on the localhost:5000 port, which can be configured in the cypress.config.ts file.
Modified package.json to run the Cypress script using the command npm run cy:open instead of the previous npm run cypress open.
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.
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.