run e2es #814
GitHub Actions / E2E report yarn test-sequential-no-bootstrap
failed
Dec 7, 2024 in 0s
E2E report yarn test-sequential-no-bootstrap ❌
❌ e2eTests/reports/junit.xml-84ad1050-b481-11ef-921c-d1227f2447eb.xml
21 tests were completed in 1026s with 19 passed, 2 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
test/sequential/bootstrap.claimAndActivate.test.ts | 2✅ | 456s | ||
test/sequential/xyk-pallet.API.accuracy.MGA.fees.test.ts | 1✅ | 36s | ||
test/sequential/xyk-pallet.API.fees.v2.test.ts | 7✅ | 102s | ||
test/sequential/xyk-pallet.API.treasury.v2.test.ts | 8✅ | 1❌ | 132s | |
test/sequential/xyk-pallet.scenarios.v2.test.ts | 1✅ | 1❌ | 300s |
✅ test/sequential/bootstrap.claimAndActivate.test.ts
bootstrap - checking bootstrapped pool in different situations
✅ bootstrap - checking claiming and activating rewards. Promoting pool is true, vesting MGA token for User1 is false
✅ bootstrap - checking claiming and activating rewards. Promoting pool is false, vesting MGA token for User1 is false
✅ test/sequential/xyk-pallet.API.accuracy.MGA.fees.test.ts
✅ xyk-pallet - Assets substracted are incremented by 1 - MGA- SellAsset
✅ test/sequential/xyk-pallet.API.fees.v2.test.ts
API fees test suite
✅ xyk-pallet - MGA tokens are subtracted as fee : CreatePool
✅ xyk-pallet - MGA tokens are subtracted as fee : MintLiquidity
✅ xyk-pallet - MGA tokens are subtracted as fee : BurnLiquidity
✅ xyk-pallet - MGA tokens are subtracted as fee : Transfer
✅ xyk-pallet - MGA tokens are subtracted as fee : TransferAll
✅ xyk-pallet - MGA tokens are not subtracted as fee : SellAsset
✅ xyk-pallet - MGA tokens are / are not subtracted as fee : BuyAsset
❌ test/sequential/xyk-pallet.API.treasury.v2.test.ts
xyk-pallet - treasury tests [Mangata]: on treasury we store
✅ assets won when assets are sold [Selling Mangata] - 5
✅ assets won when assets are bought [Buying Mangata]
✅ assets won when assets are sold [Selling other in MGA pool] - 6
❌ assets won when assets are bought [Buying other in MGA pool]
Error: thrown: Object {
xyk-pallet - treasury tests [Connected - Mangata]: on treasury we store
✅ assets won when assets are sold [Selling X connected to MGA pool] - rounding
✅ assets won when assets are bought [Buying X connected to MGA pool]
✅ assets won when assets are sold [Selling Y - X connected toMGA pool] - 6
✅ assets won when assets are bought [Buying Y - X connected toMGA pool] - 6
xyk-pallet - treasury tests [Connected - Mangata]: Error cases
✅ Not enough tokens to convert fee LINK[https://trello.com/c/p77t0atO]
❌ test/sequential/xyk-pallet.scenarios.v2.test.ts
xyk-pallet: Happy case scenario
✅ xyk-pallet: Happy case scenario
xyk-pallet: Liquidity sufficiency scenario
❌ xyk-pallet: Liquidity sufficiency scenario
Error: expect(received).toEqual(expected) // deep equality
Annotations
Check failure on line 0 in e2eTests/reports/junit.xml-84ad1050-b481-11ef-921c-d1227f2447eb.xml
github-actions / E2E report yarn test-sequential-no-bootstrap
test/sequential/xyk-pallet.API.treasury.v2.test.ts ► xyk-pallet - treasury tests [Mangata]: on treasury we store ► assets won when assets are bought [Buying other in MGA pool]
Failed test found in:
e2eTests/reports/junit.xml-84ad1050-b481-11ef-921c-d1227f2447eb.xml
Error:
Error: thrown: Object {
Raw output
Error: thrown: Object {
"data": "1010: Invalid Transaction: The swap prevalidation has failed",
}
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.treasury.v2.test.ts:177:3
at _dispatchDescribe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/index.js:91:26)
at describe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/index.js:55:5)
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.treasury.v2.test.ts:53:1
at SourceTextModule.evaluate (node:internal/vm/module:226:23)
at Runtime.linkAndEvaluateModule (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runtime/build/index.js:710:20)
at jestAdapter (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:75:5)
at runTestInternal (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runner/build/runTest.js:444:34)
Check failure on line 0 in e2eTests/reports/junit.xml-84ad1050-b481-11ef-921c-d1227f2447eb.xml
github-actions / E2E report yarn test-sequential-no-bootstrap
test/sequential/xyk-pallet.scenarios.v2.test.ts ► xyk-pallet: Liquidity sufficiency scenario ► xyk-pallet: Liquidity sufficiency scenario
Failed test found in:
e2eTests/reports/junit.xml-84ad1050-b481-11ef-921c-d1227f2447eb.xml
Error:
Error: expect(received).toEqual(expected) // deep equality
Raw output
Error: expect(received).toEqual(expected) // deep equality
Expected: "PoolIsEmpty"
Received: "ExcesiveInputAmount"
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.scenarios.v2.test.ts:916:23
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Loading