-
-
Notifications
You must be signed in to change notification settings - Fork 748
fix: 5070 issue #5071
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
kobenguyent
merged 1 commit into
3.x
from
5070-scenario-is-incorrectly-interpreted-as-scenario-outline-when-using-gherkin-in-pt-br
Aug 19, 2025
Merged
fix: 5070 issue #5071
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
test/data/sandbox/i18n/codecept.bdd.pt-br.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
exports.config = { | ||
tests: './*_no_test.js', | ||
timeout: 10000, | ||
output: '../output', | ||
helpers: { | ||
BDD: { | ||
require: '../support/bdd_helper.js', | ||
}, | ||
}, | ||
gherkin: { | ||
features: './features/examples.pt-br.feature', | ||
steps: ['./features/step_definitions/my_steps.pt-br.js'], | ||
}, | ||
include: {}, | ||
bootstrap: false, | ||
mocha: {}, | ||
name: 'sandbox', | ||
translation: 'pt-BR', | ||
} |
19 changes: 19 additions & 0 deletions
test/data/sandbox/i18n/features/examples.pt-br.feature
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#language: pt | ||
|
||
@i18n | ||
Funcionalidade: Teste de Cenário e Esquema do Cenário | ||
|
||
Cenário: Cenário simples | ||
Dado que inicio meu teste | ||
Quando faço algo | ||
Então acontece alguma coisa | ||
|
||
@i18n | ||
Esquema do Cenário: Cenário com exemplos | ||
Dado que estou com o usuário "<usuário>" | ||
Quando faço algo com o usuário | ||
Então acontece alguma coisa | ||
Exemplos: | ||
| usuário | | ||
| Um | | ||
| Dois | |
25 changes: 25 additions & 0 deletions
test/data/sandbox/i18n/features/step_definitions/my_steps.pt-br.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
const I = actor() | ||
|
||
Given('que inicio meu teste', function () { | ||
// Simula início do teste | ||
}) | ||
|
||
When('faço algo', function () { | ||
// Simula ação | ||
}) | ||
|
||
Then('acontece alguma coisa', function () { | ||
// Simula verificação | ||
}) | ||
|
||
Given('que estou com o usuário {string}', function (usuario) { | ||
// Simula usuário | ||
}) | ||
|
||
When('faço algo com o usuário', function () { | ||
// Simula ação com usuário | ||
}) | ||
|
||
Then('acontece alguma coisa', function () { | ||
// Simula verificação | ||
}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.