Skip to content
20 changes: 20 additions & 0 deletions packages/kusama/src/assetHubKusama.system.e2e.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import { assetHubKusama } from '@e2e-test/networks/chains'
import { type ParaTestConfig, registerTestTree, systemE2ETestsForParaWithScheduler } from '@e2e-test/shared'

// TODO: Uncomment after Kusama 2.0+ release due to polkadot-fellows/runtimes#957
// const testConfig: ParaTestConfig = {
// testSuiteName: 'Kusama AssetHub System',
// addressEncoding: 2,
// blockProvider: 'Local',
// asyncBacking: 'Enabled',
// }
// registerTestTree(systemE2ETestsViaRemoteScheduler(kusama, assetHubKusama, testConfig))

const testConfigForLocalScheduler: ParaTestConfig = {
testSuiteName: 'Kusama AssetHub System',
addressEncoding: 2,
blockProvider: 'NonLocal',
asyncBacking: 'Enabled',
}

registerTestTree(systemE2ETestsForParaWithScheduler(assetHubKusama, testConfigForLocalScheduler))
21 changes: 21 additions & 0 deletions packages/kusama/src/bridgeHubKusama.system.e2e.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import { assetHubKusama, bridgeHubKusama } from '@e2e-test/networks/chains'
import { type ParaTestConfig, registerTestTree, systemE2ETestsViaRemoteScheduler } from '@e2e-test/shared'

// TODO: Uncomment after Kusama 2.0+ release due to polkadot-fellows/runtimes#957
// const testConfig: ParaTestConfig = {
// testSuiteName: 'Kusama BridgeHub System',
// addressEncoding: 2,
// blockProvider: 'Local',
// asyncBacking: 'Enabled',
// }

// registerTestTree(systemE2ETestsViaRemoteScheduler(kusama, bridgeHubKusama, testConfig))

const testConfigForAssetHub: ParaTestConfig = {
testSuiteName: 'Kusama BridgeHub System',
addressEncoding: 2,
blockProvider: 'NonLocal',
asyncBacking: 'Enabled',
}

registerTestTree(systemE2ETestsViaRemoteScheduler(assetHubKusama, bridgeHubKusama, testConfigForAssetHub))
21 changes: 21 additions & 0 deletions packages/kusama/src/coretimeKusama.system.e2e.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import { assetHubKusama, coretimeKusama } from '@e2e-test/networks/chains'
import { type ParaTestConfig, registerTestTree, systemE2ETestsViaRemoteScheduler } from '@e2e-test/shared'

// TODO: Uncomment after Kusama 2.0+ release due to polkadot-fellows/runtimes#957
// const testConfig: ParaTestConfig = {
// testSuiteName: 'Kusama Coretime System',
// addressEncoding: 0,
// blockProvider: 'Local',
// asyncBacking: 'Enabled',
// }

// registerTestTree(systemE2ETestsViaRemoteScheduler(kusama, coretimeKusama, testConfig))

const testConfigForAssetHub: ParaTestConfig = {
testSuiteName: 'Kusama Coretime System',
addressEncoding: 2,
blockProvider: 'NonLocal',
asyncBacking: 'Enabled',
}

registerTestTree(systemE2ETestsViaRemoteScheduler(assetHubKusama, coretimeKusama, testConfigForAssetHub))
21 changes: 21 additions & 0 deletions packages/kusama/src/encointerKusama.system.e2e.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import { assetHubKusama, encointerKusama } from '@e2e-test/networks/chains'
import { type ParaTestConfig, registerTestTree, systemE2ETestsViaRemoteScheduler } from '@e2e-test/shared'

// TODO: Uncomment after Kusama 2.0+ release due to polkadot-fellows/runtimes#957
// const testConfig: ParaTestConfig = {
// testSuiteName: 'Kusama Encointer System',
// addressEncoding: 0,
// blockProvider: 'Local',
// asyncBacking: 'Enabled',
// }

// registerTestTree(systemE2ETestsViaRemoteScheduler(kusama, encointerKusama, testConfig))

const testConfigForAssetHub: ParaTestConfig = {
testSuiteName: 'Kusama Encointer System',
addressEncoding: 2,
blockProvider: 'NonLocal',
asyncBacking: 'Enabled',
}

registerTestTree(systemE2ETestsViaRemoteScheduler(assetHubKusama, encointerKusama, testConfigForAssetHub))
20 changes: 20 additions & 0 deletions packages/kusama/src/kusama.system.e2e.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import { assetHubKusama, kusama } from '@e2e-test/networks/chains'
import { type ParaTestConfig, registerTestTree, systemE2ETestsViaRemoteScheduler } from '@e2e-test/shared'

// TODO: Uncomment after Kusama 2.0+ release due to polkadot-fellows/runtimes#957
// const testConfig: RelayTestConfig = {
// testSuiteName: 'Kusama System',
// addressEncoding: 2,
// blockProvider: 'Local',
// }

// registerTestTree(systemE2ETests(kusama, testConfig))

const testConfigForAssetHub: ParaTestConfig = {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was fine as it was, RelayTestConfig

testSuiteName: 'Kusama System',
addressEncoding: 2,
blockProvider: 'NonLocal',
asyncBacking: 'Enabled',
}

registerTestTree(systemE2ETestsViaRemoteScheduler(assetHubKusama, kusama, testConfigForAssetHub))
21 changes: 21 additions & 0 deletions packages/kusama/src/peopleKusama.system.e2e.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import { assetHubKusama, peopleKusama } from '@e2e-test/networks/chains'
import { type ParaTestConfig, registerTestTree, systemE2ETestsViaRemoteScheduler } from '@e2e-test/shared'

// TODO: Uncomment after Kusama 2.0+ release due to polkadot-fellows/runtimes#957
// const testConfig: ParaTestConfig = {
// testSuiteName: 'Kusama People System',
// addressEncoding: 0,
// blockProvider: 'Local',
// asyncBacking: 'Enabled',
// }

// registerTestTree(systemE2ETestsViaRemoteScheduler(kusama, peopleKusama, testConfig))

const testConfigForAssetHub: ParaTestConfig = {
testSuiteName: 'Kusama People System',
addressEncoding: 2,
blockProvider: 'NonLocal',
asyncBacking: 'Enabled',
}

registerTestTree(systemE2ETestsViaRemoteScheduler(assetHubKusama, peopleKusama, testConfigForAssetHub))
22 changes: 22 additions & 0 deletions packages/polkadot/src/assetHubPolkadot.system.e2e.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import { assetHubPolkadot, polkadot } from '@e2e-test/networks/chains'
import { type ParaTestConfig, registerTestTree, systemE2ETestsViaRemoteScheduler } from '@e2e-test/shared'

const testConfig: ParaTestConfig = {
testSuiteName: 'Polkadot AssetHub System',
addressEncoding: 0,
blockProvider: 'Local',
asyncBacking: 'Enabled',
}

registerTestTree(systemE2ETestsViaRemoteScheduler(polkadot, assetHubPolkadot, testConfig))

// TODO: Uncomment Post-AHM on Polkadot

// const testConfigForLocalScheduler: ParaTestConfig = {
// testSuiteName: 'Polkadot AssetHub System',
// addressEncoding: 0,
// blockProvider: 'NonLocal',
// asyncBacking: 'Enabled',
// }

// registerTestTree(systemE2ETestsForParaWithScheduler(assetHubPolkadot, testConfigForLocalScheduler))
22 changes: 22 additions & 0 deletions packages/polkadot/src/bridgeHubPolkadot.system.e2e.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import { bridgeHubPolkadot, polkadot } from '@e2e-test/networks/chains'
import { type ParaTestConfig, registerTestTree, systemE2ETestsViaRemoteScheduler } from '@e2e-test/shared'

const testConfig: ParaTestConfig = {
testSuiteName: 'Polkadot BridgeHub System',
addressEncoding: 0,
blockProvider: 'Local',
asyncBacking: 'Enabled',
}

registerTestTree(systemE2ETestsViaRemoteScheduler(polkadot, bridgeHubPolkadot, testConfig))

// TODO: Uncomment Post-AHM on Polkadot

// const testConfigForAssetHub: ParaTestConfig = {
// testSuiteName: 'Polkadot BridgeHub System',
// addressEncoding: 0,
// blockProvider: 'NonLocal',
// asyncBacking: 'Enabled',
// }

// registerTestTree(systemE2ETestsViaRemoteScheduler(assetHubPolkadot, bridgeHubPolkadot, testConfigForAssetHub))
28 changes: 28 additions & 0 deletions packages/polkadot/src/collectivesPolkadot.system.e2e.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import { collectivesPolkadot, polkadot } from '@e2e-test/networks/chains'
import {
type ParaTestConfig,
registerTestTree,
systemE2ETestsForParaWithScheduler,
systemE2ETestsViaRemoteScheduler,
} from '@e2e-test/shared'

const testConfig: ParaTestConfig = {
testSuiteName: 'Polkadot Collectives System',
addressEncoding: 0,
blockProvider: 'Local',
asyncBacking: 'Enabled',
}

registerTestTree(systemE2ETestsViaRemoteScheduler(polkadot, collectivesPolkadot, testConfig))
registerTestTree(systemE2ETestsForParaWithScheduler(collectivesPolkadot, testConfig))

// TODO: Uncomment Post-AHM on Polkadot

// const testConfigForAssetHub: ParaTestConfig = {
// testSuiteName: 'Polkadot Collectives System',
// addressEncoding: 0,
// blockProvider: 'NonLocal',
// asyncBacking: 'Enabled',
// }

// registerTestTree(systemE2ETestsViaRemoteScheduler(assetHubPolkadot, collectivesPolkadot, testConfigForAssetHub))
22 changes: 22 additions & 0 deletions packages/polkadot/src/coretimePolkadot.system.e2e.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import { coretimePolkadot, polkadot } from '@e2e-test/networks/chains'
import { type ParaTestConfig, registerTestTree, systemE2ETestsViaRemoteScheduler } from '@e2e-test/shared'

const testConfig: ParaTestConfig = {
testSuiteName: 'Polkadot Coretime System',
addressEncoding: 0,
blockProvider: 'Local',
asyncBacking: 'Enabled',
}

registerTestTree(systemE2ETestsViaRemoteScheduler(polkadot, coretimePolkadot, testConfig))

// TODO: Uncomment Post-AHM on Polkadot

// const testConfigForAssetHub: ParaTestConfig = {
// testSuiteName: 'Polkadot Coretime System',
// addressEncoding: 0,
// blockProvider: 'NonLocal',
// asyncBacking: 'Enabled',
// }

// registerTestTree(systemE2ETestsViaRemoteScheduler(assetHubPolkadot, coretimePolkadot, testConfigForAssetHub))
22 changes: 22 additions & 0 deletions packages/polkadot/src/peoplePolkadot.system.e2e.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import { peoplePolkadot, polkadot } from '@e2e-test/networks/chains'
import { type ParaTestConfig, registerTestTree, systemE2ETestsViaRemoteScheduler } from '@e2e-test/shared'

const testConfig: ParaTestConfig = {
testSuiteName: 'Polkadot People System',
addressEncoding: 0,
blockProvider: 'Local',
asyncBacking: 'Enabled',
}

registerTestTree(systemE2ETestsViaRemoteScheduler(polkadot, peoplePolkadot, testConfig))

// TODO: Uncomment Post-AHM on Polkadot

// const testConfigForAssetHub: ParaTestConfig = {
// testSuiteName: 'Polkadot People System',
// addressEncoding: 0,
// blockProvider: 'NonLocal',
// asyncBacking: 'Enabled',
// }

// registerTestTree(systemE2ETestsViaRemoteScheduler(assetHubPolkadot, peoplePolkadot, testConfigForAssetHub))
21 changes: 21 additions & 0 deletions packages/polkadot/src/polkadot.system.e2e.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import { polkadot } from '@e2e-test/networks/chains'
import { type RelayTestConfig, registerTestTree, systemE2ETests } from '@e2e-test/shared'

const testConfig: RelayTestConfig = {
testSuiteName: 'Polkadot System',
addressEncoding: 0,
blockProvider: 'Local',
}

registerTestTree(systemE2ETests(polkadot, testConfig))

// TODO: Uncomment Post-AHM on Polkadot

// const testConfigForAssetHub: ParaTestConfig = {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This also needs to changed: RelayTestConfig.

I know it's commented out, but still.

// testSuiteName: 'Polkadot System',
// addressEncoding: 0,
// blockProvider: 'NonLocal',
// asyncBacking: 'Enabled',
// }

// registerTestTree(systemE2ETestsViaRemoteScheduler(assetHubPolkadot, polkadot, testConfigForAssetHub))
Loading