8000 GitHub - Gitguy268/e2e-suite: Browser smoke tests for 26 of my web apps, built on tester-army/e2e with locators only and no AI model. One command runs them all. · GitHub
[go: up one dir, main page]

Skip to content
Gitguy268Public

About

Browser smoke tests for 26 of my web apps, built on tester-army/e2e with locators only and no AI model. One command runs them all.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

e2e-suite

Browser smoke tests for 31 of my web apps, built on tester-army/e2e with locators only and no AI model. One command runs them all.

What it tests · Run it locally · How it works · Findings · Limits

Licence: MIT e2e 0.23 30 pass, 1 skipped

Terminal output of run-all.sh: 30 apps PASS, textarea SKIP because its folder is not on disk, 30 passed and 1 skipped in about 3 minutes

Each test serves an app's existing build on a free port, opens it in headless Chromium, checks the title or a key element, does one real interaction, checks that it changed something, and fails on any uncaught JavaScript error. The last full run, its notes per app and what changed are in FINDINGS.md.

Project page: gitguy268.github.io/e2e-suite · e2e-suite.vercel.app

Run it locally, step by step

  1. Install Node.js 22 or newer, and Python 3 (several apps are served with python3 -m http.server).

  2. Get the code:

    git clone https://github.com/Gitguy268/e2e-suite.git
    cd e2e-suite
  3. Keep the apps next to each other, with this folder and the apps in the same parent folder as listed in apps.ts, and build each app first. Set E2E_PROJECTS_DIR if they live somewhere other than your home folder. Apps that aren't there are skipped.

  4. Install the dependencies:

    npm ci
    npx playwright install chromium
  5. Run everything, or name apps:

    ./run-all.sh
    ./run-all.sh qrer spot-light
    APP=qrer npx e2e run --headed    # watch one

    Results go to .e2e/results.txt, with a log and a trace per app in .e2e/.

What it tests

App Served as The test
8bit-player static folder starts the player
audiocheck its Vite build checks a file
better-photocraft static dist/web boots past the loading screen
convert its Vite build loads its formats
cozy-christmas-lab static folder pauses
flashnack its Vite build loads the sample photos
gitguy268 static folder the portfolio boots into the website view
glasspaint static _site opens the File menu
hillium static site the landing page renders
ipod static export out/ the menu renders
liquidframe its Python server, on a throwaway library the library loads
lvw-bench static web/ the leaderboard switches track
mp4 static folder the composition renders
openfinder its own Node server opens the Sandbox, then Documents
pikado its Vite build creates a document
qrer its Python server encodes a link
retrofind its Python server, with no SearXNG behind it takes a query (never searches)
rubber-hose-revue static folder opens the game
skyhold its Go binary, file keyring, wiped each run sets up and shows the cloud key
spot-apporteren static folder Spot sits
spot-fetch its Vite build, GPU turns on sound
spot-light static folder starts Dodge
spot-light-hd static folder, GPU starts Lure in the living room
spot-snake static folder starts
tabshell its Node server boots the VM
textarea its test server takes a note (skipped while its folder is gone)
usa-website static folder searches cities
vinyl static single-file build turns the motor on
web-pak static app/ opens and generates a password
web2app its Node server fills the URL field (never builds)
win97 its Vite build opens Paint

How it works

One config, many apps

e2e runs every test against every target in a config, so the apps can't share one target list. e2e.config.ts builds a config for the single app named in $APP, and run-all.sh calls it once per app. The serve commands are in apps.ts, all on port 0, so the runner picks a free port. errors.js is injected into every page and collects uncaught errors in window.__errs; tests/_noErrors.ts asserts that list is empty.

The real GPU for WebGL apps

Headless Chromium draws WebGL in software, at about 1.5 s a frame for spot-fetch. e2e's web() engine has no option for browser launch flags, but it accepts a browser provider. gpu-provider.ts starts Playwright's Chromium with --use-angle=metal and hands e2e its DevTools endpoint, so the apps in GPU_APPS (spot-fetch, spot-light-hd) render at full speed.

Skipping what isn't there

apps.ts records the folder each app needs in needs. run-all.sh checks it before starting the app and prints SKIP (not on disk: …) instead of a failure, so the suite still runs after a project folder has been moved off the disk.

Limits

  • It tests the builds already on disk, not the source: rebuild an app before trusting a pass.
  • Smoke depth only, one interaction per app. The apps' own test suites go deeper.
  • It needs the apps on this machine, so CI can't run it; the GitHub workflow only publishes the project page.
  • Native apps (videoina, container, superfile, pakket) and apps that only do something with a model engine (LvW-harness, usb-llms) aren't covered.

Licence

MIT, see LICENSE.

About

Browser smoke tests for 26 of my web apps, built on tester-army/e2e with locators only and no AI model. One command runs them all.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages

0