I faced with many similar pieces of code in my steps, re-using steps inside 'bigger' steps can solve the problem. Is it possible to run step 1 inside step 2?
And('My Step 1', () => {
some code;
});
And('My Step 2', () => {
can I execute 'My Step 1' here?
code;
});