Skip to content

Commit 65c6aa3

Browse files
fix: typos
1 parent 6c2735c commit 65c6aa3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/appium-driver.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ export class AppiumDriver {
591591
if (!existsSync(pathExpectedImage)) {
592592
const pathActualImage = resolvePath(this._storageByDeviceName, imageName.replace(".", "_actual."));
593593
if (this.imageHelper.waitOnCreatingInitialSnapshot > 0) {
594-
await this.driver.wait(this.imageHelper.waitOnCreatingInitialSnapshot);
594+
await this.wait(this.imageHelper.waitOnCreatingInitialSnapshot);
595595
}
596596
await this.takeScreenshot(pathActualImage);
597597

lib/enums/log-image-type.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
export enum LogImageType {
22
/**
3-
* Setting this property to add each image
3+
* Set this property to add each image
44
* during the image comparison into the report.
55
* If not set, it will be logged only the last image comparison.
66
*/
77
everyImage = "everyImage",
88
/**
9-
* Setting this property to take screenshot on each hook
9+
* Set this property to take screenshot on each hook
1010
* and add the images into the report.
1111
*/
12-
screenshots = "screenshots"
12+
screenshots = "screenshots",
1313
}

0 commit comments

Comments
 (0)