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.26k stars 282 forks source link

🧹 In cypress, use getBySel("") instead of get('[data-cy=""]') #5575

Closed Annelein closed 3 weeks ago

Annelein commented 1 month ago

This is a lot cleaner to read: cy.getBySel('view_class_link')

instead of: cy.get('[data-cy="view_class_link"]')

Annelein commented 1 month ago

@hasan-sh Thanks for the contribution, looks good! Can you fix the tests? Then it's ready I think

mergify[bot] commented 3 weeks ago

Thank you for contributing! Your pull request is now going on the merge train (choo choo! Do not click update from main anymore, and be sure to allow changes to be pushed to your fork).