@umbraco-cms/backoffice
    Preparing search index...

    Function isTestEnvironment

    • Checks if the current environment is a test environment. This function checks for various indicators that suggest the code is running in a test environment, such as Playwright or specific test flags.

      Returns boolean

      True if the environment is a test environment, false otherwise.