Skip to content

Commit 8ae55d8

Browse files
committed
Fixed Download file error and updated README
1 parent b801215 commit 8ae55d8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ Scenario('Compare CPU Usage Images', async (I) => {
102102
});
103103
```
104104
The generated output and diff images can also be directly uploaded to AWS S3 by using the `upload` method which will upload both the output as well as diff image generated.
105-
The files will be uploaded to a folder named output inside of the bucket.
105+
The screenshot file will be uploaded to a folder named output and the diff file(if it exists) inside a folder named diff inside the bucket.
106106
```
107107
I.upload("AccessKeyId", "secretAccessKey", "region", "bucketName", "baseImage");
108108
```
@@ -112,6 +112,7 @@ Moreover, the base images can also be downloaded from S3 with the `download` met
112112
I.download("AccessKeyId", "secretAccessKey", "region", "bucketName", "baseImage");
113113
```
114114
You will need to store these base images inside a folder named base inside the bucket.
115+
Make sure to give correct file type extensions to both the `I.upload` and `I.download` methods.
115116

116117

117118

0 commit comments

Comments
 (0)