Open mostor-v opened 2 years ago
If you want to update the snapshots, you use the --update
flag.
If you want to update the snapshots, you use the
--update
flag.
But we can't use this flag on CI
Yes, you should not overwrite the snapshots in your CI.
Yes, you should not overwrite the snapshots in your CI.
So I need to have received(after fail) and generated screenshots with same name, how can I achieve this ? Bcoz as i see received ( generated after fail) screenshots has "-received" ending
If the received image has the same name it will overwrite the snapshot.
If the received image has the same name it will overwrite the snapshot.
Yes, but i can simply put received images in another folder and then in 1 click override old screenshots with new. In current situation I need to remove "-received" ending in all files.
Can you explain your use case? I don't understand what you are trying to do or why.
Can you explain your use case? I don't understand what you are trying to do or why.
I want to avoid "rename"step. Only pick received screenshots and put them in expected screenshots folder and push it again.
+1, I'd like to be able to store received images in a separate directory without the -received suffix so that I can easily copy over the new screenshots without having to rename everything.
While starting test (without screenshot) it generates screenshot with name like "suite_test_number", but failed screenshot generates with name "suite_test_number-received" How can I have same names for both files?