Skip to content

Commit

Permalink
Allure integration
Browse files Browse the repository at this point in the history
Fixing allure report integration.
  • Loading branch information
JoanEsquivel committed Nov 15, 2022
1 parent 5c785c9 commit 8fafe2d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cypress.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ async function setupNodeEvents(on, config) {
plugins: [createEsbuildPlugin.default(config)],
})
);
allureWriter(on, config);

// Make sure to return the config object as it might have been modified by the plugin.
return config;
Expand All @@ -25,5 +26,8 @@ module.exports = defineConfig({
specPattern: "cypress/e2e/features/*.feature",
baseUrl: "https://www.saucedemo.com",
chromeWebSecurity: false,
env: {
allureReuseAfterSpec: true,
},
},
});

0 comments on commit 8fafe2d

Please sign in to comment.