mirror of
https://github.com/tester-army/e2e.git
synced 2026-11-22 18:19:48 +08:00
* test(mobile): fake the clock and shrink PNGs in engine tests, trim duplicates engine.test.ts 6.4s -> 0.4s: retry backoff and transition budgets on fake timers, small screenshots. Merge or drop tests restating constants or covered elsewhere; prose asserts in errors.test check the headline and recovery only. * test(mobile): delete the simulator suite no workflow runs E2E_AGENT_DEVICE_SIMULATOR was never set in CI; the mobile benchmark drives real simulators and emulators. Drops test:simulator and the integration project. * test(mobile): cover duplicate refind, clipboard step label, unreadable secure screenshot * test(eas): restore Date.now in afterEach, unique run ids, drop constant asserts * test(github): drop the factory tautology and markdown asserts core owns * test(mobile): keep the videoTouches and interactive snapshot option checks * test(mobile): name the openApp permission refusal by what it checks
@e2e-dev/github
The GitHub reporter for e2e.
From GitHub Actions, every run becomes one pull request comment, edited in
place on reruns, and the same text lands in the job summary.
npm install --save-dev @e2e-dev/github
import type { E2EConfig } from 'e2e';
import { web } from '@e2e-dev/web';
import { github } from '@e2e-dev/github';
export default {
targets: [{ engine: web(), app: { url: 'http://localhost:3000' } }],
reporters: ['list', github()],
} satisfies E2EConfig;
The job needs permissions: pull-requests: write and the step that runs
e2e needs GITHUB_TOKEN: ${{ github.token }} in its env. Matrix replicas
of one job pass a key so their comments stay apart. When the reporter cannot
post (another CI, a push, a fork's read-only token) it says why in one summary
row and never changes the run's exit code.
Full documentation lives at e2e.tester.army/docs/github.
License
Apache-2.0