lundi 16 novembre 2020

CodeceptJS: No new snippets found after 'npx codeceptjs gherkin:snippets' command

Unable to create step definitions snippets using gherkin:snippets command i.e npx codeceptjs gherkin:snippets --path=./step_definitions/loginSteps.js --feature=./features/login.feature. Get this text in terminal 'Loaded 1 files No new snippets found'

I am facing this issue when my feature has 'Scenario Outline' and when I am doing it with 'Scenario' it is generating the snippets. Sharing the .feature file now

Feature: login
  I want to be able to login to the system

  Scenario Outline: Login succesfull with multiple users
    Given I am on Login page
    When Enter username and password <Header1> and <Header2>
    And Submit
    Then User is logged in

    Examples:
        | Header1 | Header2 |
        | Value 1  | Value 2  |

Helpppppp !!!

Aucun commentaire:

Enregistrer un commentaire