Hi,
Say I have a test with the group name:
group("Test-1: Checking This", () => {
// How can I access that group name here?
})
Thanks.
Hi,
Say I have a test with the group name:
group("Test-1: Checking This", () => {
// How can I access that group name here?
})
Thanks.
Hey @psa,
Simply define it as a variable in the outer scope.
Hmm, I was hoping i could get it within there as i don’t like the idea of having to write that outside, but you’re saying like:
const test1Name = "Test-1: Checking This";
group(test1Name, () => {
})