Skip to content

Issue 29: E2E Testing - Happy Path Gig Lifecycle Sandbox #40

@soomtochukwu

Description

@soomtochukwu

Description:
This issue requires utilizing the infrastructure configured in Issue 28 to write a massive, overarching E2E test verifying the single most critical flow inside Lance: The complete Gig Lifecycle. Playwright must automate a Client posting a job, an alternate Freelancer profile discovering it and placing a bid, the Client accepting it and depositing Escrow, the Freelancer uploading a mock deliverable, and finally the Client resolving the mutual release. Running this workflow consistently guarantees that underlying structural changes via feature branches do not accidentally sever the connective tissue linking the Next.js UI, the Axum routing, and fundamentally the Soroban smart contract logic altogether.
Requirements:

  • Write programmatic interactions defining exact button targets navigating the Job Posting -> Bid -> Accept cycle.
  • Simulate the financial escrow deposit confirming the DOM reflects the "Funded" transition uniquely.
  • Command the mock client to explicitly execute the release mechanism confirming the freelancer's UI subsequently signals "Paid".
  • Ensure timing discrepancies inside Playwright implicitly utilize robust .waitForSelector logics mimicking block timing.
    Acceptance Criteria:
  • The overarching test suite passes consistently simulating multiple concurrent actor scopes flawlessly.
  • Modifications breaking the fundamental mutual payout logic categorically trigger a high-priority E2E fail dynamically.
  • Complex DOM shifts between various freelancer modal panels operate without brittle race condition fragmentations.

Metadata

Metadata

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type
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