---
title: disableDialogs
framework: StoreKit Test
role: symbol
role_heading: Instance Property
platforms: [iOS 14.0+, iPadOS 14.0+, Mac Catalyst 14.0+, macOS 11.0+, tvOS 14.0+, visionOS 1.0+, watchOS 7.0+]
path: storekittest/sktestsession/3579480-disabledialogs
---

# disableDialogs

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

## Declaration

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

## 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](storefront.md)
- [locale](locale.md)
