Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 815 Bytes

gherkin.md

File metadata and controls

32 lines (24 loc) · 815 Bytes

Gherkin support

This plugin supports gherkin support.

If you use @badeball/cypress-cucumber-preprocessor plugin then also there would be tags support available.

Special tags will add meta info to report.

Example(in this example it will add several links to test):

@issue("ABC-001")
@tms("ABC-002")
@tms("ABC-003","Description__of__ticket")
Scenario: should have several tms tags
Given I log message "test"

Special tags are the same as allure interface items, see interface

Note When using @bahmutov/cypress-esbuild-preprocessor to preprocess feature files please update code to use globals:

const cucumberBundler = createBundler({
    define: { global: 'window' },
    plugins: [createEsbuildPlugin(config)],
});

Example of setup is in progress