cuke_linter
cuke_linter copied to clipboard
Linter does not validate scenarios with examples
Hello, today we are having a recurring problem where it happens that sometinmes our QAs create Scenarios with examples and not Scnarios Schemes in the gherkin code, with this it generates some problems such as missing executions due to the schemes not being considered, in this case we wanted to that the linter validated if a scenario had examples it would be barred so that it clould be change to the scenario scheme.
bad example:
@#charlan_bettiol
@%validar
Scenario: Validar campos
Dado realizar o login
E clicar no mercado
Quando adicionar "1" produto "teste" ao
E inserir "1233" para calcular o frete
E clicar em comprar
E validar os "
good example:
@#charlan_bettiol
@%validar
Scenario outline: Validar campos
Dado realizar o login
E clicar no mercado
Quando adicionar "1" produto "teste" ao
E inserir "1233" para calcular o frete
E clicar em comprar
E validar os "