Skip to content
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

Process test data in the Gherkin scenarios #3

Open
kublaios opened this issue Mar 13, 2024 · 0 comments
Open

Process test data in the Gherkin scenarios #3

kublaios opened this issue Mar 13, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@kublaios
Copy link
Contributor

kublaios commented Mar 13, 2024

Gherkin syntax supports adding test data like below:

Given the user is on the sign in screen
When the user attempts to sign in with invalid credentials
Then the user is not signed in
Examples:
  | email                      | password        |
  | existentuser@domain.com    | invalidPassword |
  | nonexistentuser@domain.com | somePassword    |

We currently ignore the test data and embed credentials in the tests. Ideally, we should parse the examples table and pass the data into the test execution. This would also require running the same test with different data.

@kublaios kublaios added the enhancement New feature or request label Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant