Skip to content

Implement E2E Testing #101

Implement E2E Testing

Implement E2E Testing #101

Triggered via pull request December 1, 2025 01:11
Status Failure
Total duration 4m 14s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

31 errors and 1 warning
src/__tests__/web3-interactions.test.ts > Web3 Interactions > Transaction Handling > should handle transaction failure: src/__tests__/web3-interactions.test.ts#L244
TypeError: mockWagmi.useWaitForTransactionReceipt.mockReturnValue is not a function ❯ src/__tests__/web3-interactions.test.ts:244:46
src/__tests__/web3-interactions.test.ts > Web3 Interactions > Transaction Handling > should handle transaction success: src/__tests__/web3-interactions.test.ts#L232
TypeError: mockWagmi.useWaitForTransactionReceipt.mockReturnValue is not a function ❯ src/__tests__/web3-interactions.test.ts:232:46
src/__tests__/web3-interactions.test.ts > Web3 Interactions > Transaction Handling > should handle transaction pending state: src/__tests__/web3-interactions.test.ts#L214
TypeError: mockWagmi.useWaitForTransactionReceipt.mockReturnValue is not a function ❯ src/__tests__/web3-interactions.test.ts:214:46
src/__tests__/web3-interactions.test.ts > Web3 Interactions > Contract Interactions > should handle contract errors: src/__tests__/web3-interactions.test.ts#L158
TypeError: mockEthers.Contract.mockReturnValue is not a function ❯ src/__tests__/web3-interactions.test.ts:158:27
src/__tests__/web3-interactions.test.ts > Web3 Interactions > Contract Interactions > should handle contract read operations: src/__tests__/web3-interactions.test.ts#L158
TypeError: mockEthers.Contract.mockReturnValue is not a function ❯ src/__tests__/web3-interactions.test.ts:158:27
src/__tests__/web3-interactions.test.ts > Web3 Interactions > Contract Interactions > should handle contract method calls: src/__tests__/web3-interactions.test.ts#L158
TypeError: mockEthers.Contract.mockReturnValue is not a function ❯ src/__tests__/web3-interactions.test.ts:158:27
src/__tests__/web3-interactions.test.ts > Web3 Interactions > Contract Interactions > should create contract instance with correct address and ABI: src/__tests__/web3-interactions.test.ts#L158
TypeError: mockEthers.Contract.mockReturnValue is not a function ❯ src/__tests__/web3-interactions.test.ts:158:27
src/__tests__/web3-interactions.test.ts > Web3 Interactions > Wallet Connection > should handle connection loading state: src/__tests__/web3-interactions.test.ts#L136
TypeError: mockWagmi.useAccount.mockReturnValue is not a function ❯ src/__tests__/web3-interactions.test.ts:136:28
src/__tests__/web3-interactions.test.ts > Web3 Interactions > Wallet Connection > should handle wallet disconnection: src/__tests__/web3-interactions.test.ts#L125
TypeError: mockWagmi.useAccount.mockReturnValue is not a function ❯ src/__tests__/web3-interactions.test.ts:125:28
src/__tests__/web3-interactions.test.ts > Web3 Interactions > Wallet Connection > should handle wallet connection state: src/__tests__/web3-interactions.test.ts#L107
TypeError: mockWagmi.useAccount.mockReturnValue is not a function ❯ src/__tests__/web3-interactions.test.ts:107:28
Security Tests
Process completed with exit code 1.
src/__tests__/security.test.ts > Security Boundary Tests > Input Boundary Testing > should handle Unicode and special characters safely: src/__tests__/security.test.ts#L467
AssertionError: expected false to be true // Object.is equality - Expected + Received - true + false ❯ src/__tests__/security.test.ts:467:30
src/__tests__/security.test.ts > Contract Security Tests > Contract Call Validation > should warn about high but acceptable gas limits: src/__tests__/security.test.ts#L341
AssertionError: expected false to be true // Object.is equality - Expected + Received - true + false ❯ src/__tests__/security.test.ts:341:30
src/__tests__/security.test.ts > Contract Security Tests > Contract Call Validation > should reject calls with excessive gas limits: src/__tests__/security.test.ts#L328
AssertionError: expected [ 'Invalid contract address' ] to include 'Invalid gas limit' ❯ src/__tests__/security.test.ts:328:29
src/__tests__/security.test.ts > Contract Security Tests > Contract Call Validation > should validate correct contract calls: src/__tests__/security.test.ts#L300
AssertionError: expected false to be true // Object.is equality - Expected + Received - true + false ❯ src/__tests__/security.test.ts:300:30
src/__tests__/security.test.ts > Contract Security Tests > Address Validation > should validate correct Ethereum addresses: src/__tests__/security.test.ts#L281
AssertionError: expected false to be true // Object.is equality - Expected + Received - true + false ❯ src/__tests__/security.test.ts:281:82
src/__tests__/security.test.ts > Input Validation Tests > Room Creation Validation > should reject private room without password: src/__tests__/security.test.ts#L180
AssertionError: expected true to be false // Object.is equality - Expected + Received - false + true ❯ src/__tests__/security.test.ts:180:30
src/__tests__/security.test.ts > Input Validation Tests > Bio Validation > should reject XSS attempts in bios: src/__tests__/security.test.ts#L101
AssertionError: expected true to be false // Object.is equality - Expected + Received - false + true ❯ src/__tests__/security.test.ts:101:30
Unit Tests: src/__tests__/performanceOptimization.test.ts#L68
Declaration or statement expected.
Unit Tests: src/__tests__/performanceOptimization.test.ts#L67
Declaration or statement expected.
Unit Tests: src/__tests__/performanceOptimization.test.ts#L66
Unterminated regular expression literal.
Component Tests
Process completed with exit code 1.
E2E Tests
Process completed with exit code 1.
Integration Tests
Process completed with exit code 1.
E2E Tests
No files were found with the provided path: playwright-report/. No artifacts will be uploaded.