leaphy-robotics / leaphy-webbased-svelte

Leaphy Easybloqs is software to program Leaphy Robots and Arduino microcontrollers using a block-based programming language.
https://leaphyeasybloqs.com
1 stars 2 forks source link

test: Made arduino tests faster & included more logging #82

Closed pajotg closed 5 months ago

pajotg commented 5 months ago

This PR makes the Arduino tests faster by looking for "Go back to editor" instead of "Upload complete" The effect of this is that the test run faster on failure, and is unchanged when it succeeds

It also adds logging of window.avrdudeLog at the end of each test to help debug it on failure

It also makes the tests run one by one as a experiment to see if this makes the test less flakey The Github Action only uses one worker (because it has 1 thread) so it does not slow that down.