Skip to main content

Function: waitForTransaction()

waitForTransaction(scope, props, transaction, depth, parentDatasetId?): IChainable

Defined in: packages/depot-cdk/src/stage-depot-e2e-test.ts:70

Waits for a Transaction (or hierarchy of Transactions) to complete in an E2E test run

Parameters

scope

Construct

The CDK Construct scope

props

E2eTestFunctionProps

The properties to define the E2E test Transaction

transaction

TransactionNode

The Transaction to wait for

depth

number

The depth of the Transaction hierarchy to traverse and wait for in the workflow

parentDatasetId?

string

The parent dataset ID

Returns

IChainable

The IChainable set of steps wrapping the E2E transaction