Skip to content

Updates for concurrent e2e test execution (#349) #1877

Updates for concurrent e2e test execution (#349)

Updates for concurrent e2e test execution (#349) #1877

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / JEST Tests failed Nov 24, 2023 in 1s

JEST Tests ❌

Tests failed

❌ reports/junit.xml-b264c410-8ac6-11ee-8701-cffd2ec5386b.xml

5 tests were completed in 150s with 4 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
test/microapps-ui/microapps-ui-main.check.pools.test.ts 1✅ 1❌ 80s
test/microapps-ui/microapps-ui-main.extensions.test.ts 2✅ 53s
test/microapps-ui/microapps-ui-main.smoke.test.ts 1✅ 17s

❌ test/microapps-ui/microapps-ui-main.check.pools.test.ts

Microapps UI liq pools tests
  ❌ All promoted pools exist in app
	Error: expect(received).toIncludeSameMembers(expected)
  ✅ All liquidity pools exist in app

✅ test/microapps-ui/microapps-ui-main.extensions.test.ts

Wallets management
  ✅ User can connect wallet Talisman
  ✅ User can connect wallet Polkadot

✅ test/microapps-ui/microapps-ui-main.smoke.test.ts

Miocroapps UI smoke tests
  ✅ App is starting

Annotations

Check failure on line 3 in utils/frontend/utils/Helper.ts

See this annotation in the file changed.

@github-actions github-actions / JEST Tests

test/microapps-ui/microapps-ui-main.check.pools.test.ts ► Microapps UI liq pools tests ► All promoted pools exist in app

Failed test found in:
  reports/junit.xml-b264c410-8ac6-11ee-8701-cffd2ec5386b.xml
Error:
  Error: expect(received).toIncludeSameMembers(expected)
Raw output
Error: expect(received).toIncludeSameMembers(expected)

Expected list to have the following members and no more:
  ["pool-item-ZLK-MGX", "pool-item-IMBU-MGX", "pool-item-MOVR-MGX", "pool-item-BNC-MGX", "pool-item-KSM-USDT", "pool-item-RMRK-MGX", "pool-item-TUR-MGX", "pool-item-vsKSM-KSM", "pool-item-vKSM-KSM", "pool-item-MGX-KSM"]
Received:
  []
    at /home/runner/work/mangata-e2e/mangata-e2e/utils/frontend/utils/Helper.ts:605:23
    at Generator.next (<anonymous>)
    at /home/runner/work/mangata-e2e/mangata-e2e/utils/frontend/utils/Helper.ts:7:71
    at new Promise (<anonymous>)
    at __awaiter (/home/runner/work/mangata-e2e/mangata-e2e/utils/frontend/utils/Helper.ts:3:12)
    at comparePoolsLists (/home/runner/work/mangata-e2e/mangata-e2e/utils/frontend/utils/Helper.ts:487:12)
    at /home/runner/work/mangata-e2e/mangata-e2e/test/microapps-ui/microapps-ui-main.check.pools.test.ts:100:11
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/work/mangata-e2e/mangata-e2e/test/microapps-ui/microapps-ui-main.check.pools.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)