diff --git a/packages/core/src/percy.js b/packages/core/src/percy.js index 59c552873..8cf494d43 100644 --- a/packages/core/src/percy.js +++ b/packages/core/src/percy.js @@ -378,7 +378,6 @@ export class Percy { } else if (Array.isArray(options)) { return yieldAll(options.map(o => this.yield.upload(o))); } - // validate comparison uploads and warn about any errors // we are having two similar attrs in options: tags & tag @@ -402,6 +401,15 @@ export class Percy { } } + // set meta for logging + options.meta = { + snapshot: { + name: options.name, + testCase: options.testCase, + tag: options.tag?.name + } + }; + // add client & environment info this.client.addClientInfo(options.clientInfo); this.client.addEnvironmentInfo(options.environmentInfo);