File tree Expand file tree Collapse file tree 3 files changed +7
-0
lines changed
Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " appwright " : patch
3+ ---
4+
5+ fix: added comments
Original file line number Diff line number Diff 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 (
Original file line number Diff line number Diff 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 (
You can’t perform that action at this time.
0 commit comments