Skip to content

Dynamic content for previews #947

Answered by TWiStErRob
IvanSanchez-uam asked this question in Q&A
Discussion options

You must be logged in to vote

I think that might be just the question of running (e.g. from Gradle CLI) the specific test that you want to refresh. Then the code that would generate a different screenshot for A and B never executes, so it's never re-written.

Alternatively since you're version-controlling golden values (I guess), you can just not commit the modified A and B files; only C, which will be clearly a new file, right?

Btw, how does verify work if the data changes? Do you have a high enough percentage diff that varying values are accepted?

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by geoff-powell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants