Skip to content

test(vibenet): add e2e coverage for vibenet, faucet, and explorer - #167

Merged
montycheese merged 1 commit into
mainfrom
test/vibenet-e2e
Sep 10, 2026
Merged

test(vibenet): add e2e coverage for vibenet, faucet, and explorer#167
montycheese merged 1 commit into
mainfrom
test/vibenet-e2e

Conversation

@montycheese

Copy link
Copy Markdown
Contributor

Summary

Adds Playwright e2e coverage for the vibenet routes, alongside the existing home.spec.ts:

  • vibenet.spec.ts/vibenet loads (page title + intro copy).
  • faucet.spec.ts/vibenet/faucet loads (page title + "Recipient Address").
  • explorer.spec.ts/vibenet/explorer loads and shows "Latest Blocks" / "Latest Transactions", and clicking into the latest block and latest transaction opens their detail pages.

Vibenet is reset from time to time, so the explorer specs assert that blocks and transactions are present in general and can load — never that a specific block/tx exists. They also tolerate the momentary empty-transactions state right after a reset (the transaction drill-in skips rather than flakes when there are no txs yet).

Screenshots

N/A (no visual changes — tests only).

Test plan

  • npm run test:e2e (Playwright builds and starts the app on :3100, runs against the live vibenet API): 6 passed (3 new explorer specs + faucet + vibenet + existing home).
  • Selectors are role/text/aria-based (no data-testids exist on these pages): page titles via toHaveTitle, panels via getByText, and rows via tr[aria-label^="Block "] / tr[aria-label^="Transaction "].

Adds Playwright specs alongside the existing home spec:

- vibenet.spec.ts: /vibenet loads (title + intro copy)
- faucet.spec.ts: /vibenet/faucet loads (title + Recipient Address)
- explorer.spec.ts: /vibenet/explorer loads and shows Latest Blocks /
  Latest Transactions, and clicking the latest block and latest transaction
  opens their detail pages.

Vibenet is reset periodically, so the explorer specs assert blocks/transactions
are present in general and can load rather than checking specific values, and
tolerate the momentary empty-transactions state after a reset (skip the
drill-in rather than flake).
@cb-heimdall

Copy link
Copy Markdown
Collaborator

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

@vercel

vercel Bot commented Sep 10, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
omni-ui Ready Ready Preview Sep 10, 2026 7:41pm UTC

Request Review

@montycheese
montycheese merged commit b4af32a into main Sep 10, 2026
12 of 13 checks passed
@montycheese
montycheese deleted the test/vibenet-e2e branch September 10, 2026 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants