---
url: /api/kiln/test/variables/scenario.md
---
[Kiln API](../../../index.md) / [kiln/test](../index.md) / scenario

# Variable: scenario

```ts
const scenario: (name, fn, options) => void & object;
```

A headless test: fresh app, Startup run, disposed after.

## Type Declaration

### only

```ts
only: (name, fn, options) => void;
```

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `name` | `string` |
| `fn` | `Body` |
| `options` | [`ScenarioOptions`](../interfaces/ScenarioOptions.md) |

#### Returns

`void`

### skip

```ts
skip: (name, fn, options) => void;
```

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `name` | `string` |
| `fn` | `Body` |
| `options` | [`ScenarioOptions`](../interfaces/ScenarioOptions.md) |

#### Returns

`void`
