-
Notifications
You must be signed in to change notification settings - Fork 21
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
Add support for running asynchronous Steps #30
Comments
Hi, May I know when this feature will be released? |
@jiabiao We have not decided on a timeline for this feature yet. We will look at this soon though. |
Thanks @nehashri. |
@jiabiao Can you please raise a separate issue for multithreading? |
bump |
Hello Gauge Team, Can you please let us know if the async Task feature will be implemented in DOT-NET. Gauge version: 1.1.7 Pluginsdotnet (0.5.0) Dotnet framework 6.0. I wanted to run it using for e.g:, playwright and although the step gets executed there is no error that is reported. I see from the above discussion that the async feature is not implemented. Here is my code snippet below: [Step("Launch Browser using Playwright")]
Any help or any tentative ETA is appreciated. Thank you for your support and help. Hari |
There's no Gauge team as such and no one is working on this at the moment. However pull requests to add support for async task will be accepted. |
Proposed behavior
Should be able to deal with async/await natively
Actual behavior
Step with async/await is allowed in Gauge-dotnet. However, the failure inside the step is not being taken into account.
Steps to replicate
[Step("A step that returns Task")]
public async Task AsyncStep()
{
await Task.Delay(15);
throw new CustomSerializableException("Step failed");
}
Version
The text was updated successfully, but these errors were encountered: