You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and if i try add description in before hook or in event.dispatcher.on(event.test.started, async (test) => {
in my repo - it will doesn’t add description because testStarted method works after my before.hook and event.test.started
that's why
doesn’t add description - we have no this.currentTest in the moment
but!! when we start suite we exactly know test!! by suite.ctx.currentTest
and if we init currentTest in
i found that on my point of view we create
current.test
too late . right now it’s inside this methodand if i try add description in
before hook
or inevent.dispatcher.on(event.test.started, async (test) => {
in my repo - it will doesn’t add description because testStarted method works after my before.hook and event.test.started
that's why
doesn’t add description - we have no this.currentTest in the moment
but!! when we start suite we exactly know test!! by
suite.ctx.currentTest
and if we init currentTest in
description method will work in before hook and in event.test.started
The text was updated successfully, but these errors were encountered: