Module

Ctl.Internal.Test.E2E.Options

#BrowserOptions

type BrowserOptions = Record (CommonOptions_ ())

CLI options for the browser command.

#ExtensionOptions

type ExtensionOptions = { crxFile :: Maybe CrxFilePath, crxUrl :: Maybe URL, extensionId :: Maybe ExtensionId, password :: Maybe WalletPassword }

Wallet extension options. Everything is wrapped in maybe, because we want to be able to override every single environment variable via the CLI.

#NoHeadless_

type NoHeadless_ :: Row Type -> Row Typetype NoHeadless_ (r :: Row Type) = (noHeadless :: Boolean | r)

#PassBrowserLogs_

type PassBrowserLogs_ :: Row Type -> Row Typetype PassBrowserLogs_ (r :: Row Type) = (passBrowserLogs :: Boolean | r)

#Tests_

type Tests_ :: Row Type -> Row Typetype Tests_ (r :: Row Type) = (tests :: Array E2ETest | r)

#TestTimeout_

type TestTimeout_ :: Row Type -> Row Typetype TestTimeout_ (r :: Row Type) = (testTimeout :: Maybe Int | r)

#CommonOptions_

type CommonOptions_ :: Row Type -> Row Typetype CommonOptions_ (r :: Row Type) = (browser :: Maybe Browser, chromeUserDataDir :: Maybe ChromeUserDataDir, extraBrowserArgs :: Array BrowserArg, settingsArchive :: Maybe SettingsArchive, settingsArchiveUrl :: Maybe SettingsArchiveUrl, tmpDir :: Maybe TmpDir, wallets :: Map WalletExt ExtensionOptions)

CLI options for both E2E tests and the browser command

#ClusterPortsOptions_

type ClusterPortsOptions_ :: Row Type -> Row Typetype ClusterPortsOptions_ (r :: Row Type) = (kupoPort :: Maybe UInt, ogmiosPort :: Maybe UInt, plutipPort :: Maybe UInt | r)

#ClusterPortsOptions

#SettingsOptions

type SettingsOptions = { chromeUserDataDir :: Maybe FilePath, settingsArchive :: Maybe FilePath, settingsArchiveUrl :: Maybe SettingsArchiveUrl }

CLI options for pack and unpack commands.

#E2ECommand

#parseCliArgs

parseCliArgs :: Effect E2ECommand

Parse CLI arguments to get E2ECommand that can be run by runE2E

#defaultPorts

defaultPorts :: { kupo :: Int, ogmios :: Int, plutip :: Int }

Modules