Skip to content

Commit b801215

Browse files
committed
Documentation for cloud support methods
1 parent 4093f71 commit b801215

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,4 +101,17 @@ Scenario('Compare CPU Usage Images', async (I) => {
101101
I.seeVisualDiffForElement("//div[@class='panel-container']", "Complete_Dashboard_Image.png", {prepareBaseImage: false, tolerance: 3});
102102
});
103103
```
104+
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.
106+
```
107+
I.upload("AccessKeyId", "secretAccessKey", "region", "bucketName", "baseImage");
108+
```
109+
110+
Moreover, the base images can also be downloaded from S3 with the `download` method.
111+
```
112+
I.download("AccessKeyId", "secretAccessKey", "region", "bucketName", "baseImage");
113+
```
114+
You will need to store these base images inside a folder named base inside the bucket.
115+
116+
104117

0 commit comments

Comments
 (0)