Overview
End-to-end test of trading and rating flows. Requires operator for MetaMask approvals.
Prerequisites:
- Existing storyline with token (from QA-2)
- Wallet connected with WETH balance
Test flow — Trading:
- Navigate to
/story/[storylineId]
- Trading widget: enter amount to buy → approve token allowance → operator approves → buy tx → operator approves
- Verify: balance updates, price changes
- Try sell flow: enter amount → sell tx → operator approves
- Verify: balance decreases, refund received
Test flow — Rating:
- With tokens held, rating widget should show star selector
- Select rating (e.g., 4 stars) + optional comment
- Sign message → operator approves MetaMask signature
- Verify: rating submitted, average updates
- Without tokens: verify "Hold tokens to rate" prompt appears
Test flow — Donations:
- Donate widget: enter amount → operator approves tx
- Verify: donation recorded, shows in story page
Check:
Overview
End-to-end test of trading and rating flows. Requires operator for MetaMask approvals.
Prerequisites:
Test flow — Trading:
/story/[storylineId]Test flow — Rating:
Test flow — Donations:
Check: