@@ -250,24 +250,26 @@ describe('"Find and Fix Bugs with Apex Replay Debugger" Trailhead Module', async
250
250
await textEditor . save ( ) ;
251
251
await utilities . pause ( utilities . Duration . seconds ( 2 ) ) ;
252
252
253
- // Deploy source to org
254
- await utilities . executeQuickPick ( 'SFDX: Deploy This Source to Org' , utilities . Duration . seconds ( 5 ) ) ;
253
+ // Push source to org
254
+ await utilities . executeQuickPick (
255
+ 'SFDX: Push Source to Default Org and Ignore Conflicts' ,
256
+ utilities . Duration . seconds ( 10 )
257
+ ) ;
255
258
256
- // Verify the deploy was successful
257
- let successNotificationWasFound ;
259
+ let successPushNotificationWasFound ;
258
260
try {
259
- successNotificationWasFound = await utilities . notificationIsPresentWithTimeout (
260
- 'SFDX: Deploy This Source to Org successfully ran' ,
261
+ successPushNotificationWasFound = await utilities . notificationIsPresentWithTimeout (
262
+ 'SFDX: Push Source to Default Org and Ignore Conflicts successfully ran' ,
261
263
utilities . Duration . TEN_MINUTES
262
264
) ;
263
- expect ( successNotificationWasFound ) . to . equal ( true ) ;
265
+ expect ( successPushNotificationWasFound ) . to . equal ( true ) ;
264
266
} catch ( error ) {
265
267
await utilities . getWorkbench ( ) . openNotificationsCenter ( ) ;
266
- successNotificationWasFound = await utilities . notificationIsPresentWithTimeout (
267
- 'SFDX: Deploy This Source to Org successfully ran' ,
268
+ successPushNotificationWasFound = await utilities . notificationIsPresentWithTimeout (
269
+ 'SFDX: Push Source to Default Org and Ignore Conflicts successfully ran' ,
268
270
utilities . Duration . ONE_MINUTE
269
271
) ;
270
- expect ( successNotificationWasFound ) . to . equal ( true ) ;
272
+ expect ( successPushNotificationWasFound ) . to . equal ( true ) ;
271
273
}
272
274
} ) ;
273
275
0 commit comments