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

Support steps with multiple keys #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alejandropor
Copy link

Description
Currently, capriccio script do not support multiple keys in the same step, as for example:

Current behaviour
And The user goes to <page> page and clicks on <button> button

The current behaviour of the script will replace both of them but the replaces will override previous ones.

And The user goes to <page> page and clicks on LOGIN button

Expected behaviour

Script should support as many keys as we want

How was fixed

The issue was that script was always replacing the key over the original step instead of the updated step.
With this single change, now the script supports having as many keys as we want over any step and allow us to reduce size of the tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant