Closed ajsteenkamp closed 3 weeks ago
I include variables in my test.step to make it even more intuitive and easy to follow but how would you something like the below using magic steps?
await test.step(`Enter search term '${searchTerm}' in to search bar`, async () => {
Yes, you can use variables in step text like in regular template literals, e.g.:
const searchTerm = 'foo'; // step: Enter search term '${searchTerm}' in to search bar
Report:
Updated README.
I include variables in my test.step to make it even more intuitive and easy to follow but how would you something like the below using magic steps?