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

Step with expected result #898

Open
Dindonpingpong opened this issue Mar 6, 2024 · 0 comments
Open

Step with expected result #898

Dindonpingpong opened this issue Mar 6, 2024 · 0 comments
Labels
type:new feature New feature or request

Comments

@Dindonpingpong
Copy link

Is your feature request related to a problem? Please describe.
AllureTestops has feature that allow to create manually step with expected result, but i need feature to create via code.
Screenshot 2024-03-06 at 11 48 42

A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
I'd love to see function in allure-playwright something like that syntax:
allure.stepWithExpect(name: string, body: () => Promise<T>, assertFunc: makeMatchers): Promise<T>

Describe alternatives you've considered
Generate new property in allure-results.json, that allureTestops can recognize as step with expected result
Screenshot 2024-03-06 at 11 58 28
Screenshot 2024-03-06 at 11 58 18

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

No branches or pull requests

2 participants