Skip to content

Add E2E test coverage for core mobile flows #23

Description

@Lakes41

Difficulty: Advanced

Type: Test

Summary

Add end-to-end tests for onboarding, wallet entry, guild navigation, access checking, and settings reset to catch regressions that unit tests may miss.

Current Behaviour

The project includes Vitest scripts and React Native Testing Library as a dependency, but there is no visible device-level E2E setup for the main mobile flows.

Expected Behaviour

Contributors should be able to run a deterministic E2E suite against the Expo app in a simulator or supported test runner.

Suggested Implementation

Adopt an Expo-compatible E2E tool such as Maestro or Detox. Add test IDs to core screens and components. Mock network calls where necessary so tests do not depend on the live GuildPass API.

Files or Areas Likely Affected

  • app/onboarding.tsx
  • app/profile.tsx
  • app/guilds.tsx
  • app/guilds/[guildId].tsx
  • app/access-check.tsx
  • app/settings.tsx
  • src/components/
  • .github/workflows/
  • README.md

Acceptance Criteria

  • E2E tests cover onboarding to profile navigation
  • E2E tests cover manual wallet entry
  • E2E tests cover guild list and guild detail navigation
  • E2E tests cover an access check success and failure path
  • E2E tests cover reset app state
  • README documents how to run the E2E suite locally

Additional Notes

Prefer mocked network responses for deterministic CI runs.

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial CampaignCampaign: Official Campaign

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions