hedyorg / hedy

Hedy is a gradual programming language to teach children programming. Gradual languages use different language levels, where each level adds new concepts and syntactic complexity. At the end of the Hedy level sequence, kids master a subset of syntactically valid Python.
https://www.hedy.org
European Union Public License 1.2
1.27k stars 282 forks source link

[TESTING] Refactor cypress tests #4027

Open jpelay opened 1 year ago

jpelay commented 1 year ago

As stated by @rix0rrr in #3972 there are two ways in which our tests can be improved:

  1. Test organization: Instead of having defines with a single it we can group different tests under a single define. Saving code and making our test suite more organized.
  2. Selecting HTML elements by ID: Cypress actually prevents against using id or other HTML attributes used in functionality for the tests.

Update: I will change tests bit by bit

Felienne commented 3 months ago

One more task for @Annelein?