You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+22
Original file line number
Diff line number
Diff line change
@@ -184,6 +184,28 @@ The resultant output image will be uploaded in a folder named "*output*" and dif
184
184
If the `prepareBaseImage` option is marked `true`, then the generated base image will be uploaded to a folder named "*base*" in the S3 bucket.
185
185
> Note: The tests may take a bit longer to run when the AWS configuration is provided as determined by the internet speed to upload/download images.
186
186
187
+
### Other S3 Providers
188
+
The same configuration as above, but with *endpoint* field:
189
+
190
+
```json
191
+
{
192
+
"helpers": {
193
+
"ResembleHelper" : {
194
+
"require": "codeceptjs-resemblehelper",
195
+
"baseFolder": "<location of base folder>",
196
+
"diffFolder": "<location of diff folder>",
197
+
"aws": {
198
+
"accessKeyId" : "<Your AccessKeyId>",
199
+
"secretAccessKey": "<Your secretAccessKey>",
200
+
"region": "<Region of Bucket>",
201
+
"bucketName": "<Bucket Name>",
202
+
"endpoint": "<Endpoint of Bucket>"
203
+
}
204
+
}
205
+
}
206
+
}
207
+
```
208
+
187
209
### Compare with custom image
188
210
Usually, every screenshot needs to have the same filename as an existing image inside the `baseFolder` directory. To change this behavior, you can use the `compareWithImage` option and specify a different image inside the `baseFolder` directory.
0 commit comments