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

"all asynchronous processes for *** are finished doesn't work" in the Given step #107

Open
RemyDuijkeren opened this issue Dec 8, 2020 · 0 comments

Comments

@RemyDuijkeren
Copy link

Want to create a scenario like this:

Scenario: Set Only First Contact as Primary Contact
	Given an account named TestAccount with the following values
		| Property     | Value        |
		| Account Name | TestAccount  |
		| Main Phone   | +31624941486 |
	And a related contact from TestAccount named FirstContact is created with the following values
		| Property   | Value   |
		| First Name | First   |
		| Last Name  | Contact |
	And all asynchronous processes for FirstContact are finished
	When a related contact from TestAccount named SecondContact is created with the following values
		| Property   | Value   |
		| First Name | Second  |
		| Last Name  | Contact |
	And all asynchronous processes for SecondContact are finished
	Then SecondContact has the following values
		| Property   | Value   |
		| First Name | Second  |
		| Last Name  | Contact |
	And TestAccount has the following values
		| Property        | Value       |
		| Primary Contact | FirstContact |

But it doesn't work because all asynchronous processes for *** are finished doesn't work in the Given section.

And all asynchronous processes for FirstContact are finished
-> No matching step definition found for the step. Use the following code to create one:
->         [Given(@"all asynchronous processes for FirstContact are finished")]
->         public void GivenAllAsynchronousProcessesForFirstContactAreFinished()
->         {
->             _scenarioContext.Pending();
->         }
@RemyDuijkeren RemyDuijkeren changed the title "all asynchronous processes for *** are finished doesn't work" in the Given section "all asynchronous processes for *** are finished doesn't work" in the Given step Dec 8, 2020
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

1 participant