---
url: /test-inventory/api/interfaces/InventoryFilter.md
---
# Interface: InventoryFilter

**`Inline`**

## Properties

### states?

> `optional` **states?**: (`"active"` | `"skip"` | `"fixme"` | `"todo"` | `"expectedToFail"` | `"notLoaded"`)\[]

Keeps tests in one of these states.

***

### tags?

> `optional` **tags?**: `string`\[]

Keeps tests with one of these tags, as the output writes them.

***

### grep?

> `optional` **grep?**: `string`

Keeps tests whose `fullName` matches this regular expression, ignoring case, as Playwright's `--grep` does.

***

### only?

> `optional` **only?**: `boolean`

Keeps tests that use `.only`, or are inside a describe that does.

***

### withoutReason?

> `optional` **withoutReason?**: `boolean`

Keeps tests that don't run and give no reason. Tests in a file the runner refuses are left out.
