Skip to content

feat: add e2e tests for Avalanche C-Chain #341

@AugustoL

Description

@AugustoL

Summary

A clear and concise description of the feature you'd like to see.

Add end-to-end tests for the Avalanche C-Chain (chain ID 43114), covering block, transaction, and address pages.

Motivation

Why is this feature needed? What problem does it solve?

All other supported EVM networks have e2e test coverage under e2e/tests/evm-networks/ (Arbitrum, Base, BSC, Optimism, Polygon), but Avalanche C-Chain is missing. This leaves a gap in regression coverage for a supported network.

Proposed Solution

Describe how you envision this feature working.

  1. Add fixture file: e2e/fixtures/avalanche.ts with known Avalanche C-Chain test data (block numbers, transaction hashes, addresses)
  2. Add test spec: e2e/tests/evm-networks/avalanche.spec.ts following the same patterns as the existing EVM network specs
  3. Cover core pages: blocks, block detail, transactions, transaction detail, address

Alternatives Considered

Any alternative solutions or features you've considered.

  • Relying on manual testing only: error-prone and doesn't prevent regressions

Additional Context

Add any other context, mockups, or screenshots about the feature request.

Existing EVM network e2e tests for reference:

  • e2e/tests/evm-networks/arbitrum.spec.ts
  • e2e/tests/evm-networks/base.spec.ts
  • e2e/tests/evm-networks/bsc.spec.ts
  • e2e/tests/evm-networks/optimism.spec.ts
  • e2e/tests/evm-networks/polygon.spec.ts

Acceptance Criteria

  • e2e/fixtures/avalanche.ts created with valid C-Chain test data
  • e2e/tests/evm-networks/avalanche.spec.ts created
  • Tests cover block, transaction, and address pages
  • Tests pass in CI

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions