# Interface: GameTestingActions<T> (/pixi-vn/index/interfaces/GameTestingActions)



Defined in: [src/core/testing.ts:118](https://github.com/DRincs-Productions/pixi-vn/blob/5bb5bb1f92e38998ea2f477b600168d8da3ece19/src/core/testing.ts#L118)

Per-action overrides an app can register via `setActions` so `Game.testing`'s
window-exposed actions run the app's own narration functions — with whatever UI-only side
effects they add (loading state, blocking while a menu is open, refreshing cached interface
data, ...) — instead of calling [narrationUtils.narration](/pixi-vn/index/variables/narration) / historyUtils.stepHistory directly. Any action left undefined keeps the default behavior.

`continue`/`back` take no arguments: the `extraProps`/`options` a caller passes to the
corresponding [GameTestingAPI](/pixi-vn/index/interfaces/GameTestingAPI) method are ignored when an override is registered,
since the override already has its own way to gather props (and typically doesn't support
stepped/replay options). `selectChoice` receives the resolved choice item instead of the
raw `choiceIndex`, since looking it up is already handled before the override runs.

## Type Parameters [#type-parameters]

### T [#t]

`T` *extends* `object` = \{ }

## Properties [#properties]

### back? [#back]

\> `optional` **back?**: () => `Promise`\<`void`>

Defined in: [src/core/testing.ts:120](https://github.com/DRincs-Productions/pixi-vn/blob/5bb5bb1f92e38998ea2f477b600168d8da3ece19/src/core/testing.ts#L120)

#### Returns [#returns]

`Promise`\<`void`>

***

### call? [#call]

\> `optional` **call?**: (`label`, `props?`) => `Promise`\<[`StepLabelResultType`](/pixi-vn/index/type-aliases/StepLabelResultType)>

Defined in: [src/core/testing.ts:130](https://github.com/DRincs-Productions/pixi-vn/blob/5bb5bb1f92e38998ea2f477b600168d8da3ece19/src/core/testing.ts#L130)

#### Parameters [#parameters]

##### label [#label]

`string` | [`LabelAbstract`](/pixi-vn/index/classes/LabelAbstract)\<`any`, `T`, `number`>

##### props? [#props]

`T`

#### Returns [#returns-1]

`Promise`\<[`StepLabelResultType`](/pixi-vn/index/type-aliases/StepLabelResultType)>

***

### continue? [#continue]

\> `optional` **continue?**: () => `Promise`\<`void`>

Defined in: [src/core/testing.ts:119](https://github.com/DRincs-Productions/pixi-vn/blob/5bb5bb1f92e38998ea2f477b600168d8da3ece19/src/core/testing.ts#L119)

#### Returns [#returns-2]

`Promise`\<`void`>

***

### jump? [#jump]

\> `optional` **jump?**: (`label`, `props?`) => `Promise`\<[`StepLabelResultType`](/pixi-vn/index/type-aliases/StepLabelResultType)>

Defined in: [src/core/testing.ts:126](https://github.com/DRincs-Productions/pixi-vn/blob/5bb5bb1f92e38998ea2f477b600168d8da3ece19/src/core/testing.ts#L126)

#### Parameters [#parameters-1]

##### label [#label-1]

`string` | [`LabelAbstract`](/pixi-vn/index/classes/LabelAbstract)\<`any`, `T`, `number`>

##### props? [#props-1]

`T`

#### Returns [#returns-3]

`Promise`\<[`StepLabelResultType`](/pixi-vn/index/type-aliases/StepLabelResultType)>

***

### selectChoice? [#selectchoice]

\> `optional` **selectChoice?**: (`item`) => `Promise`\<`void`>

Defined in: [src/core/testing.ts:121](https://github.com/DRincs-Productions/pixi-vn/blob/5bb5bb1f92e38998ea2f477b600168d8da3ece19/src/core/testing.ts#L121)

#### Parameters [#parameters-2]

##### item [#item]

[`StoredIndexedChoiceInterface`](/pixi-vn/index/type-aliases/StoredIndexedChoiceInterface)

#### Returns [#returns-4]

`Promise`\<`void`>

***

### start? [#start]

\> `optional` **start?**: (`label`, `props?`) => `Promise`\<`void`>

Defined in: [src/core/testing.ts:122](https://github.com/DRincs-Productions/pixi-vn/blob/5bb5bb1f92e38998ea2f477b600168d8da3ece19/src/core/testing.ts#L122)

#### Parameters [#parameters-3]

##### label [#label-2]

`string` | [`LabelAbstract`](/pixi-vn/index/classes/LabelAbstract)\<`any`, `T`, `number`>

##### props? [#props-2]

`T`

#### Returns [#returns-5]

`Promise`\<`void`>
