test: add E2E tests for all 15 tools + CI workflow#72
Open
Conversation
…rator for struct params
- Add comprehensive Playwright E2E suites for:
barcode, color-converter, cron, data-generator, datetime-converter,
code-formatter, jwt, number-converter, regexp, text-diff
- Fix cmd/genservices template to send struct params directly
instead of wrapping in { value: ... }, matching router behavior
- Regenerate all HTTP clients with corrected request format
- Fix existing textUtilities duplicate-lines test
177 passing, 1 skipped
- New e2e-tests job runs in parallel with go-tests and frontend-checks - Starts backend (--server-only) and frontend (vite dev) servers - Installs Playwright Chromium browser with system deps - Uploads Playwright report artifact on failure
- New 'Build' job runs first: compiles Go app + builds frontend - go-tests, frontend-tests, and e2e-tests now depend on build and run in parallel - frontend-checks renamed to frontend-tests and no longer includes build step - e2e-tests unchanged, still starts backend + frontend dev servers then runs Playwright
Go 1.25 rejects 'go install' on modules with replace directives. The wails bindings (frontend/bindings/) and HTTP clients (frontend/src/generated/http/) are already committed, so we don't need to regenerate them in CI.
Extract registerGlobalHotkey into hotkey_darwin.go (//go:build darwin) and hotkey_other.go (//go:build !darwin) so the build compiles on Linux CI where golang.design/x/hotkey does not define ModCmd.
Minimum allowed line rate is |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds comprehensive Playwright E2E test coverage for all 15 developer tools and updates the CI workflow to run them in GitHub Actions.
Backend & Generator Changes
cmd/genservices): struct params are now sent directly instead of being wrapped in{ value: ... }, matching the router'sShouldBindJSONbehaviorE2E Test Coverage (15 tools, ~178 tests)
barcodeGenerator.spec.jscodeConverter.spec.jscodeEncoder.spec.jscodeEncrypter.spec.jscodeFormatter.spec.jscolorConverter.spec.jscronJobParser.spec.jsdataGenerator.spec.jsdateTimeConverter.spec.jshashGenerator.spec.jsjwtDebugger.spec.jsnumberConverter.spec.jsregExpTester.spec.jstextDiffChecker.spec.jstextUtilities.spec.jsCI Workflow Updates
buildgate job that compiles the Go app and builds the frontend firstgo-tests,frontend-tests, ande2e-testsnow run in parallel after the build succeeds--server-only) and frontend dev server, then runs PlaywrightTest Results