How to do substeps in allure-jest? #2153
-
Beta Was this translation helpful? Give feedback.
Answered by
baev
Oct 16, 2023
Replies: 1 comment
-
You can use step context (first argument of step function) for that: await allure.step("Step 1", async (s1) => {
await s1.step("Step 1.1", async (s11) => {
await s2.step("Step 1.1.1", () => {
});
await s2.step("Step 1.1.2", ()=> {
});
});
}); |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
yaroslavchaadaev
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use step context (first argument of step function) for that: