after:Spec not working as expected | Cypress

Viewed 16

In my Cypress configuration I have a after spec:

    on('after:spec', (spec, results) => {
    console.log('i am here ------______--------');

  });
  coverage(on, config);
  allureWriter(on, config);

i can't seem to get the console.log to print out in this situation it can only be implemented if i remove allurewriter(on,config);

then it works as expected

cypress : 10.3.0
shelex/cypress-allure-plugin : 2.31.0
0 Answers
Related