Skip to content

Commit f6d4a72

Browse files
Merge pull request #68 from LambdaTest/stage
Release v3.0.2
2 parents 2d18748 + 6e13dfb commit f6d4a72

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@lambdatest/smartui-cli",
3-
"version": "3.0.1",
3+
"version": "3.0.2",
44
"description": "A command line interface (CLI) to run SmartUI tests on LambdaTest",
55
"files": [
66
"dist/**/*"

src/lib/screenshot.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ export async function captureScreenshots(ctx: Context): Promise<Record<string,a
113113
if (ctx.options.parallel) await captureScreenshotsAsync(ctx, staticConfig, browsers);
114114
else await captureScreenshotsSync(ctx, staticConfig, browsers);
115115

116+
utils.delDir(`screenshots/${staticConfig.name.toLowerCase().replace(/\s/g, '_')}`);
116117
output += (`${chalk.gray(staticConfig.name)} ${chalk.green('\u{2713}')}\n`);
117118
ctx.task.output = output;
118119
capturedScreenshots++;

0 commit comments

Comments
 (0)