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

Missing when not picked up #28

Open
dantleech opened this issue Jul 5, 2022 · 1 comment
Open

Missing when not picked up #28

dantleech opened this issue Jul 5, 2022 · 1 comment

Comments

@dantleech
Copy link
Owner

        Given I place an order for reminder code "ABC1001"
        And I am on practice "1"
        And I am user "[email protected]"
        And I send an approval request for reminder code "ABC1001"
        Then the state of the order is "approved"
        And the action "approve" was made by "[email protected]"

@dkarlovi
Copy link
Contributor

dkarlovi commented Jul 31, 2024

Unrelated, but I have a preference to not embed these strings just to check they're still the same, I prefer the form

Given I place an order for reminder code
And I send an approval request for that reminder code
Then the state of the order is "approved"
And the action "approve" was made by me

The key part is "that" here, I keep a reference to stuff created in previous steps in a sort of clipboard container, allowing me to say

set('reminder code', $object);
get('reminder code');

in my contexts.

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

No branches or pull requests

2 participants