MCPcopy Index your code
hub / github.com/codeceptjs/CodeceptJS / onStepAfter

Function onStepAfter

lib/pause.js:24–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22let pauseSessionOpen = false
23
24function onStepAfter() {
25 recorder.add('Start next pause session', () => {
26 // test already finished, nothing to pause
27 if (!store.currentTest) return
28 if (!next) return
29 return pauseSession()
30 })
31}
32
33function onTestFinished() {
34 if (typeof finish === 'function') finish()

Callers

nothing calls this directly

Calls 2

pauseSessionFunction · 0.85
addMethod · 0.45

Tested by

no test coverage detected