MCPcopy
hub / github.com/codeceptjs/CodeceptJS / Test

Interface Test

lib/mocha/types.d.ts:5–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3declare global {
4 namespace CodeceptJS {
5 interface Test extends MochaTest {
6 uid: string
7 title: string
8 tags: string[]
9 steps: string[]
10 meta: Record<string, any>
11 notes: Array<{
12 type: string
13 text: string
14 }>
15 state: string
16 err?: Error
17 config: Record<string, any>
18 artifacts: string[]
19 inject: Record<string, any>
20 opts: Record<string, any>
21 throws?: Error | string | RegExp | Function
22 totalTimeout?: number
23 relativeFile?: string
24 addToSuite(suite: Mocha.Suite): void
25 applyOptions(opts: Record<string, any>): void
26 simplify(): Record<string, any>
27 toFileName(): string
28 addNote(type: string, note: string): void
29 codeceptjs: boolean
30 }
31
32 interface Suite extends MochaSuite {
33 title: string

Callers 19

addScenarioFunction · 0.80
gherkinParserFunction · 0.80
test_clone_test.jsFile · 0.80
ui_test.jsFile · 0.80
addScenarioFunction · 0.65
ui.jsFile · 0.65
serializeTestFunction · 0.65
initializeListenersFunction · 0.65
waitForElementMethod · 0.65
waitForVisibleMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected