taskreportAllureCypressSpecMessages, {absolutepath: /home/c770/Projects/ProjectOne/cypress/e2e/getting-started/login..js, messages: Array[10]}, {log: false}
Describe the bug Run the cypress code after downloaded the "allure-cypress" ( "^3.0.6". Not configured) I am getting this error.
To Reproduce Create a cypress project and download cypress allure and run a test
package.json
{
"name": "omangweb",
"version": "1.0.0",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"testOne": "npx cypress run ----env allure=true"
},
"description": "",
"devDependencies": {
"allure-cypress": "^3.0.6",
"cypress": "^13.15.1"
}
}
cypress.config.js
const { defineConfig } = require("cypress");
module.exports = defineConfig({
e2e: {
setupNodeEvents(on, config) {
// implement node event listeners here
},
specPattern:'cypress/e2e/getting-started/*.js
},
});
Expected behavior It should not raise the error. It should be work normally
Screenshots of Actual Output
Error
Desktop (please complete the following information):
- OS: Ubuntu 22.04
- Browser chrome
- Version : Cypress 13.15.1
Have you seen https://allurereport.org/docs/cypress-configuration/#using-with-custom-handlers?
Have you seen https://allurereport.org/docs/cypress-configuration/#using-with-custom-handlers?
I didn't configure anything for allure-cypress. I have opened using 'npx cypress open' and run a spec. After I got the above error.
@sajeerk123 the integration doesn't work with a proper configuration. If you didn't configure Allure at all, the problem most likely relates to Cypress or your environment. Please don't hesitate to reopen the issue if the problem won't be solved after the reporter configuration.