cypress-allure-plugin icon indicating copy to clipboard operation
cypress-allure-plugin copied to clipboard

defineSuiteLabels function is not working

Open fdiori628 opened this issue 2 years ago • 0 comments

Describe the bug I add below script to support/e2e.js, and the suite is still displayed as old one. Is there any step I missed for this? Cypress.Allure.reporter .getInterface() .defineSuiteLabels((titlePath, fileInfo) => { return [fileInfo.name, ...titlePath]; });

To Reproduce Steps to reproduce the behavior:

  1. add script to support/e2e.js
  2. run testing
  3. check report - suite

Expected behavior file name should be displayed in the report instead describe of each test

Environment (please complete the following information):

  • Cypress version: 10.7
  • OS: Mac
  • report version: 2.29.0

fdiori628 avatar Sep 04 '22 02:09 fdiori628