processing / p5.js-web-editor

The p5.js Editor is a website for creating p5.js sketches, with a focus on making coding accessible and inclusive for artists, designers, educators, beginners, and anyone else! You can create, share, or remix p5.js sketches without needing to download or configure anything.
https://editor.p5js.org
GNU Lesser General Public License v2.1
1.34k stars 1.29k forks source link

Missing Tests for Components in User Pages Folder #2923

Open gauravsingh94 opened 7 months ago

gauravsingh94 commented 7 months ago

Increasing Access

This will contribute to making the development bug-free.

Feature enhancement details

These files not have tests for them:

Screenshot from 2024-01-19 11-24-18

gauravsingh94 commented 7 months ago

@lindapaiste, if tests are deemed necessary for these files, I am willing to write them all. Please assign this task to me.

lindapaiste commented 7 months ago

@gauravsingh94 I'm generally in favor of having more tests. Before you get writing, let's think about what specific things we want to test for and how we can implement it.

gauravsingh94 commented 7 months ago

@gauravsingh94 I'm generally in favor of having more tests. Before you get writing, let's think about what specific things we want to test for and how we can implement it.

I would like to create tests for the following aspects:

  1. Verification of the presence of required fields on the website.
  2. Checking the functionality of each button to ensure they are working correctly.
  3. Validating that clicking on certain elements results in appropriate changes according to specified requirements.