File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 11export 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}
You can’t perform that action at this time.
0 commit comments