Skip to content

Commit 146116a

Browse files
authored
fix: added comments (#240)
* fix: added comments * Create great-dingos-wink.md
1 parent 5190daa commit 146116a

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

.changeset/great-dingos-wink.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"appwright": patch
3+
---
4+
5+
fix: added comments

src/providers/browserstack/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ export class BrowserStackDeviceProvider implements DeviceProvider {
198198
*/
199199
await new Promise((resolve) => setTimeout(resolve, 10_000));
200200
const fileStream = fs.createWriteStream(tempPathForWriting);
201+
//To catch the browserstack error in case all retries fails
201202
try {
202203
if (videoURL) {
203204
await retry(

src/providers/lambdatest/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ export class LambdaTestDeviceProvider implements DeviceProvider {
181181
const dir = path.dirname(pathToTestVideo);
182182
fs.mkdirSync(dir, { recursive: true });
183183
const fileStream = fs.createWriteStream(tempPathForWriting);
184+
//To catch the lambdatest error in case all retries fails
184185
try {
185186
if (videoURL) {
186187
await retry(

0 commit comments

Comments
 (0)