p5.js-web-editor icon indicating copy to clipboard operation
p5.js-web-editor copied to clipboard

Add End-to-End Testing with Playwright to Improve Stability and Accessibility

Open hxrshxz opened this issue 3 months ago • 2 comments

Increasing Access

Ensures people with disabilities have access. Automated tests confirm the editor works with assistive technologies – screen readers in particular – proving our pledge to access exists in reality.

For new contributors. The test suite functions as a safety net for contributing to the editor, which makes it relatively safe for people with little experience of open source to contribute.

Ensures consistency for novices. Through automated testing and bug catching, this project builds stability and reliability in the editor - an important element the Access Statement singles out as an aspect of the tool being accessible to learners.

Feature request details

I propose we adopt Playwright to create automated tests that simulate real user interactions from start to finish. These tests would be integrated into the GitHub Actions workflow to run automatically on every pull request. which will will us

  • Instantly confirm that criticial /important features are working.
    
  • Block code changes that causes bugs etc.
    
  • Saving maintainers time in reviewing and mergin the Pull requests 
    

hxrshxz avatar Oct 04 '25 11:10 hxrshxz

@ksen0 @perminder-17 Hey I would like to work on this issue if this gets approved, please assign it to me

hxrshxz avatar Oct 04 '25 11:10 hxrshxz

tagging @raclim , I haven't' worked much with p5.js-web-editor.

perminder-17 avatar Oct 04 '25 11:10 perminder-17