Skip to content

Shelex/cypress-allure-plugin-example

Repository files navigation

Cypress Allure Plugin Usage Example

SWUbanner

This project demonstrates how to use cypress-allure-plugin.

Pre-requisite

How to run:

  • clone this repo
  • install dependencies: npm install
  • run tests: npm run cy:run
  • clear previous output npm run allure:clear
  • generate allure report: npm run allure:report
  • open report: allure open

Allure report

VS Code for cypress + cucumber

In case you are using VS Code and Cypress Helper (latest) extension, it has configuration for allure cucumber tags autocompletion available:

"cypressHelper.cucumberTagsAutocomplete": {
        "enable": true,
        "allurePlugin": true,
        "tags": ["focus", "someOtherTag"]
    }