-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make UI testing significantly more robust #133
Conversation
c072a72
to
aed7e5c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Waow! I didn't know “ANSI screenshots” was even a thing. I find this a really great approach! Didn't test, but I assume you did. 👏
@edgar-bonet glad you like it! I don't know if they're a thing, maybe I just invented something new 😄 I definitely did some testing both in CI and locally. The future will tell what I missed 😃 PS: Do you know # ./recordings/flip_book.py sl
[90x20] Frame 1:
+------------------------------------------------------------------------------------------+
| (@@@) |
| ( ) |
| (@@@@) |
| |
| ( ) |
| ==== _______|
| _D _| |_______/ |
| |(_)--- | H\_______|
| / | | H | | |
| | | | H |__---|
| | ________|___H__/__|__|
| |/ | |-----------I___|
| __/ =| o |=-~~\ /~~\ /~|
| |/-=|___|= O=====O====|
| \_/ \__/ \__/ \_|
| |
| |
| |
| |
| |
+------------------------------------------------------------------------------------------+
[90x20] Frame 2:
+------------------------------------------------------------------------------------------+
| (@@@) |
| ( ) |
| (@@@@) |
| |
| ( ) |
| ==== ________ ________|
| _D _| |_______/ \__I_I_____===__|_______|
| |(_)--- | H\________/ | | =|___ ___|
| / | | H | | | | ||_| |_||
| | | | H |__--------------------| [___] |
| | ________|___H__/__|_____/[][]~\_______| |
| |/ | |-----------I_____I [][] [] D |=======|
| __/ =| o |=-~O=====O=====O=====O\ ____Y___________|
| |/-=|___|= || || || |_____/~\___/ |
| \_/ \__/ \__/ \__/ \__/ \_/ |
| |
| |
| |
| |
| |
+------------------------------------------------------------------------------------------+
[90x20] Frame 3:
+------------------------------------------------------------------------------------------+
| (@@@) |
| ( ) |
| (@@@@) |
| |
| ( ) |
| ==== ________ ___________ |
| _D _| |_______/ \__I_I_____===__|_________| |
| |(_)--- | H\________/ | | =|___ ___| _________________ |
| / | | H | | | | ||_| |_|| _| \|
| | | | H |__--------------------| [___] | =| |
| | ________|___H__/__|_____/[][]~\_______| | -| |
| |/ | |-----------I_____I [][] [] D |=======|____|___________________|
| __/ =| o |=-O=====O=====O=====O \ ____Y___________|__|_____________________|
| |/-=|___|= || || || |_____/~\___/ |_D__D__D_| |_D__D|
| \_/ \__/ \__/ \__/ \__/ \_/ \_/ \_/ \_/ |
| |
| |
| |
| |
| |
+------------------------------------------------------------------------------------------+
[90x20] Frame 4:
+------------------------------------------------------------------------------------------+
| (@@@) |
| ( ) |
| (@@@@) |
| |
|( ) |
| ________ ___________ |
|_______/ \__I_I_____===__|_________| |
| | H\________/ | | =|___ ___| _________________ |
| | H | | | | ||_| |_|| _| \_____A |
| | H |__--------------------| [___] | =| | |
|__|___H__/__|_____/[][]~\_______| | -| | |
|-----------I_____I [][] [] D |=======|____|________________________|_ |
|=-~~\ /~~\ /~~\ /~~\ ____Y___________|__|__________________________|_ |
|=O=====O=====O=====O |_____/~\___/ |_D__D__D_| |_D__D__D_| |
| \__/ \__/ \__/ \__/ \_/ \_/ \_/ \_/ \_/ |
| |
| |
| |
| |
| |
+------------------------------------------------------------------------------------------+
[90x20] Frame 5:
+------------------------------------------------------------------------------------------+
| |
| |
| |
| |
| |
| ___________ |
|__===__|_________| |
| =|___ ___| _________________ |
| ||_| |_|| _| \_____A |
|-------| [___] | =| | |
|_______| | -| | |
|] D |=======|____|________________________|_ |
|___Y___________|__|__________________________|_ |
|____/~\___/ |_D__D__D_| |_D__D__D_| |
| \_/ \_/ \_/ \_/ \_/ |
| |
| |
| |
| |
| |
+------------------------------------------------------------------------------------------+
[90x20] Frame 6:
+------------------------------------------------------------------------------------------+
| |
| |
| |
| |
| |
| |
| |
|______________ |
| \_____A |
| | |
| | |
|____________________|_ |
|____________________|_ |
|_D__D_| |_D__D__D_| |
| \_/ \_/ \_/ |
| |
| |
| |
| |
| |
+------------------------------------------------------------------------------------------+ |
LOL. reminds me of Star Wars. |
…ts-evaluation Clean up CI stage "Evaluate UI test results" (fix-up for #133)
Cl: Drop `homebrew/cask-fonts` leftover (follow-up to #133)
Follow-up to #117.
@edgar-bonet you were right about the clock: with differences in hardware capability, there is no way we get this many machines to agree enough on speed of execution… PS: The best point to start review is probably the changes to
record.sh
.