Replies: 2 comments 7 replies
-
What do you mean added back? The tests currently pass with the changes so maybe we just leave the hack as is or we’ll be back to empty attr screenshots?
Not a real issue IMHO, when we add a test file it’s good to remember to update the file number, also verifies everything is working as intended.
I prefer to leave the info, this way I know if there’s an issue with file count / early termination, etc. |
Beta Was this translation helpful? Give feedback.
-
Sorry, I don't really have full context, but here is what I've gathered:
My first instinct here would be to suggestion to just switch to 'mini.test' screenshots and have a |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
mini.test add a new
ignore_{line,attr}
feature. Butignore_{line,attr}
skipped only the checking but not screenshot generating.Actually with ea6d8ce screenshots generating is also skipped. So it need to be added back... (And this seems not necessary to have https://github.com/phanen/fzf-lua/blob/109d75dc6bf36ec2c5e3671969c46595500a5376/tests/file/ui_spec.lua#L237-L241), we can just auto generating screenshot).
Another OT problem: files number increased when new files/screenshots created. It can be annoying when there're too many test files...we have to review each one's changes when update screenshots.
Solution:
ignore_text
. But this don't avoid screenshots updating? Also this don't compareprompt
/query
/spinner
.--no-info
/--info=xxx
we can hide/move the file number but this also affect thespinner
(although it's not very useful?spinner
in screenshot can be used to determine if fzf terminal buffer is freezed for some reason but neovim is not freezed... but it's not really necessary).Beta Was this translation helpful? Give feedback.
All reactions