diff --git a/cypress/plugins/index.js b/cypress/plugins/index.js index 4937645e8..997feb0fb 100644 --- a/cypress/plugins/index.js +++ b/cypress/plugins/index.js @@ -252,6 +252,7 @@ module.exports = async (on, config) => { - generate the html report (TBD) */ on('after:run', async (results) => { + console.log('Inside test branch'); fireLog.info('Entering after :run in cypress/plugins/index.js'); const reportObj = {}; @@ -386,6 +387,7 @@ module.exports = async (on, config) => { // Emit the 'reports' event once after the loop and reportObj is populated. await new Promise((resolve) => { + console.log('Divya Reports are resolved'); eventEmitter.once('reportProcessed', () => resolve()); eventEmitter.emit('reports', reportObj, jobId, elk); }); diff --git a/cypress/support/cypress-support/src/transport.js b/cypress/support/cypress-support/src/transport.js index a8bf7fc9b..649c8c4fd 100644 --- a/cypress/support/cypress-support/src/transport.js +++ b/cypress/support/cypress-support/src/transport.js @@ -25,7 +25,7 @@ export default class Transport { } async sendMessage(messageObject, responseWaitTime) { - fireLog.info(`Printing the message object: ${JSON.stringify(messageObject)}`); + fireLog.info(`Divya Printing the message object: ${JSON.stringify(messageObject)}`); if (this.isFireboltSDK(messageObject)) { if (!messageObject.action) { messageObject.action = CONSTANTS.CORE;