---
title: disableDialogs
framework: storekittest
role: symbol
role_heading: Instance Property
path: storekittest/sktestsession/disabledialogs
---

# disableDialogs

A Boolean value that determines whether the testing environment disables dialogs during automated testing.

## Declaration

```swift
var disableDialogs: Bool { get set }
```

## Discussion

Discussion The default value is false. Set this value to true when you run automated tests and want to suppress interactive dialogs.

## See Also

### Configuring the test environment

- [storefront](storekittest/sktestsession/storefront.md)
- [locale](storekittest/sktestsession/locale.md)
