* docs(ci): rewrite the Codemagic page around a tested sample
* docs(ci): gate the release on e2e and address review feedback
* docs(ci): mark the sample-only test selection and release tag advice
* docs: restructure navigation, merge pages, trim reference
Reorders the sidebar and gives groups icons, folds five thin pages into their neighbours with redirects, rewrites core concepts, coding agents and debugging shorter, adds reference pages for the desktop and Electron engines, rewrites every page description for search, and removes implementation detail and JSDoc from the reference pages.
* docs: fix review findings in guides, reference and translations
Corrects claims a review checked against source, and stops translated pages linking to anchors their page does not have yet.
* feat(cli): write a GitHub Actions or GitLab CI/CD pipeline in e2e init
e2e init asks for a CI pipeline in a project with the web engine (--ci github-actions|gitlab|none). It writes one job for the project's package manager and Node version that installs Chromium, runs e2e run, and keeps the report, and names the secret or CI/CD variable for the model key. It never overwrites a pipeline file; beside an existing .gitlab-ci.yml it writes a file to include.
* fix(cli): handle cubic's findings on the init CI step
Exact GitLab stage names, a distinct job name beside an existing e2e job, loopback baseURL in an existing config, no writes through a symlinked .github or .gitlab, --ci none in the skill, gitlab in the telemetry comment, and the GitLab Node image's major version in the docs.
* refactor(cli): keep the init CI pipelines as YAML templates
The GitHub Actions workflow and the GitLab job live in packages/e2e/templates/ci/ as complete pipelines for npm at the repository root, linted as they are. init loads them with the yaml package's Document API and edits a copy for the project's package manager, folders, Node version, secrets, and target, keeping the comments. The pinned actions now live only in the templates.
* fix(cli): point setup-bun at the package.json of a project in a subfolder
* docs(ci): link the GitLab page from init and the GitLab template
* feat(cli): write the iOS and Android CI jobs in e2e init
init writes one job per platform the config's targets run on: web targets in the web job, iOS and Android targets in their own jobs, which build the app, boot a simulator or an emulator, and install the app. Targets come from the new config, or from loading an existing one after the confirmation and the install. Expo and bare React Native apps get their build; any other app gets a step to replace. GitHub's mobile jobs follow e2e-inc/e2e-react-native's workflow; GitLab's run on self-managed runners.
* fix(cli): reinstall an emulator system image that holds no image in the Android CI job
* fix(cli): handle cubic's findings on the mobile CI jobs
Upload the emulator log from the GitLab Android job, count peer and optional engine dependencies, ask nothing for a new config with no engine, key caches on Bun's bun.lockb when that is the lockfile, and run the symlink test with a Windows junction.
* fix(cli): put current Android command-line tools in place before the emulator image
The runner image's cmdline-tools can be older than the system image's package format, and android-emulator-runner uses them to create the AVD, which then fails with 'contains no system images'. The Android job downloads command-line tools 23.0, checks its SHA-256, and installs the image with it.
* fix(cli): import moved core modules from @e2e-dev/core in init
* fix(cli): count a pipeline as set up only when a command runs e2e run
init matched the text 'e2e run' anywhere in a workflow, so a comment or a step name such as 'our old e2e runner' made --ci write nothing. It now reads the commands (run, script, before_script, after_script) from the parsed YAML and matches e2e run as words of their own.
Also: --ci help and the InitOptions JSDoc say tests on every platform, and yaml is pinned exactly like the other dependencies.
* chore(ci): bump setup-node and upload-artifact pins in the init templates, docs, and skill
docs/ci/vercel-previews.mdx on main pins setup-node v7.1.0 and upload-artifact v7.0.2, the pins this repository's own workflows run. The templates, three docs pages, and the skill still had v7.0.0 and v7.0.1, so the pin test failed once main was merged in.
---------
Co-authored-by: Oskar Kwaśniewski <oskar@okwasniewski.com>
* docs(ci): rename the Vercel page to Vercel previews
* docs(ci): move the Vercel previews page to /ci/vercel-previews
* docs(ci): capitalize Vercel Previews
* docs(ci): drop the redirect, the page is not shipped
* feat(run): keep a timings history that CI can cache
`e2e run` already starts the longest files first, but it read the
previous run's durations out of report.json, which a fresh CI checkout
never has. Write a small versioned `<output>/timings.json` (timings-1)
at the end of every run instead: per target::file milliseconds, smoothed
with an exponential moving average, with files that are gone and targets
the config dropped pruned.
The file is advisory. A missing, corrupt, or schema-invalid file is no
history, and an absent one falls back to report.json as before, so a
restored cache can reorder files and never change a result.
`--timings <file>` moves it. `--last-failed` still reads report.json.
Documents the actions/cache recipe for GitHub Actions and the generic
restore/save rule in the CI guide. Duration-balanced --shard is left for
a separate decision.
Refs ENG-1111
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
* fix(run): time a file only when the run carried out all of it
A `--grep`, `--last-failed`, interrupted, or `--repeat-each` run summed
only part of a file's tests, or several repeats of them, into the
timings history, so a 60 s file could drop to about 40 s after a rerun
of one failing test. A file now has a timing only when none of its tests
was left out, cut short, or never reached, and repeats past the first do
not count. Adds the integration test for the runner wiring.
Refs ENG-1111
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
* fix(run): tighten the timings keys, count an interrupted retry as partial, and say when ordering applies
- A retry cut short after a failure leaves the result under the earlier
verdict; read the attempts, and a serial group's, for an interrupt.
- timings-1 keys: a target name, then a project-relative POSIX file with
no `..` segment, in the schema and the reader alike.
- Rerun cache key adds github.run_attempt, since a rerun shares run_id
and actions/cache never saves over an existing key.
- Docs and help say the history orders files only with more than one
worker, and that the file is `<output>/timings.json`.
Refs ENG-1111
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
* docs(run): say files with no recorded time start before the timed ones
Refs ENG-1111
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
* fix(run): time a file whose other tests a platforms list keeps off the target
A test a `platforms` list excludes is `selected: false` with cause
`platform-unavailable`, the same flag a `--grep` or `--last-failed` sets, so a
file holding both an iOS-only and an Android-only test never got a time on
either target. Only a filter makes a file partial; a permanent platform
exclusion does not.
Refs ENG-1111
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
* docs(ci): add a GitLab CI/CD page
* docs(ci): pin the CI device, bound the emulator boot, and note GitLab masking rules
* docs(ci): add the GitLab job to an existing pipeline, set the key with glab
* docs(ci): note --pass-with-no-tests for GitLab shards
* docs(ci): give each GitLab Android job its own emulator port, list the JDK
* docs: retire sidebar page icons
The docs sidebar no longer shows icons. Drop icon: from every page's frontmatter, delete the grey silhouettes in docs/images/icons/, and make check-docs-logos fail on any frontmatter icon instead of requiring one on vendor pages. Card logos stay required. The authoring-docs skill trades its Page icons section for a short Vendor logos one.
* docs: require a migrate overview card for each migration guide
* docs: match only top-level icon keys in check-docs-logos
Follows https://docs.expo.dev/eas-to-expo/. EAS Workflows is now Expo Workflows, EAS Build Expo Build, and the provider's errors and logs name Expo. The eas CLI, eas.json, EAS_* variables, the @e2e-dev/eas package, and page URLs keep their names.
* feat(eas): rename easSimulators() to expoSimulators()
The docs call the service Expo Simulators. easSimulators() and
EasSimulatorsOptions stay as deprecated aliases.
* docs(eas): name the deprecated alias and Expo in the rename
* docs(ci): move the CI guide to Get started as Setting up CI
* docs(ci): keep Continuous integration as the title, Setting up CI in the sidebar
* docs(quickstart): keep the code-branch icon on the CI card
* docs(agent-steps): rewrite with the authoring-docs skill
* docs(agents): rewrite with the authoring-docs skill
* docs(api-testing): rewrite with the authoring-docs skill
* docs(authentication): rewrite with the authoring-docs skill
INVALID_CONFIG also fires for a password shorter than 6 characters.
* docs(browser): rewrite with the authoring-docs skill
* docs(bug-bash): rewrite with the authoring-docs skill
* docs(cache): rewrite with the authoring-docs skill
* docs(ci): rewrite with the authoring-docs skill
Rerun folders are rerun-<n>/, not rerun-1/. Merge exit codes into Gate pull requests.
* docs(ci/bitrise): rewrite with the authoring-docs skill
* docs(ci/codemagic): rewrite with the authoring-docs skill
* docs(ci/eas-workflows): rewrite with the authoring-docs skill
* docs(ci/github-actions): rewrite with the authoring-docs skill
* docs(coding-agents): rewrite with the authoring-docs skill
* docs(core-concepts): rewrite with the authoring-docs skill
* docs(debugging): rewrite with the authoring-docs skill
* docs(decision-models): rewrite with the authoring-docs skill
A point tap costs three decision calls and one text call, not four.
* docs(example-projects): rewrite with the authoring-docs skill
* docs(executors): rewrite with the authoring-docs skill
* docs(explore): rewrite with the authoring-docs skill
* docs(github): rewrite with the authoring-docs skill
* docs(index): rewrite with the authoring-docs skill
* docs(integrations/eas): rewrite with the authoring-docs skill
* docs(integrations/index): rewrite with the authoring-docs skill
* docs(integrations/kernel): rewrite with the authoring-docs skill
* docs(integrations/smol): rewrite with the authoring-docs skill
* docs(migrate/cypress): rewrite with the authoring-docs skill
* docs(migrate/detox): rewrite with the authoring-docs skill
* docs(migrate/maestro): rewrite with the authoring-docs skill
Fold the command map tables into accordions.
* docs(migrate/playwright): rewrite with the authoring-docs skill
List use and testMatch among the Playwright keys e2e rejects. Fold the mapping tables into accordions.
* docs(migrate/selenium): rewrite with the authoring-docs skill
* docs(mobile): rewrite with the authoring-docs skill
Fix the Android installApp troubleshooting entry: agent-device 0.21.22 parses the manifest itself and searches ~/Library/Android/sdk on macOS.
* docs(models): rewrite with the authoring-docs skill
* docs(quickstart): rewrite with the authoring-docs skill
* docs(security): rewrite with the authoring-docs skill
Name smol beside Kernel and EAS Simulators among the integrations that make outbound connections.
* docs(subscriptions): rewrite with the authoring-docs skill
npx e2e login with no provider opens a picker.
* docs(telemetry): rewrite with the authoring-docs skill
Add the source-checkout, unwritable-preferences, and CI opt-out rules.
* docs(tools): rewrite with the authoring-docs skill
Config load fails only when an entry sets both tools and a custom executor.
* docs(visual-testing): rewrite with the authoring-docs skill
* docs(web): rewrite with the authoring-docs skill
Fold the Next.js dev-origins section, merge the basicAuth examples, and fix the reuseExisting row: in CI e2e ignores it and only a server that already answers is APP_ALREADY_RUNNING. Drop the unrelated agents block from the command config example.
* docs(writing-an-engine): rewrite with the authoring-docs skill
Remove the origin-check claim for location; PR #290 removed origin policy.
* docs(models): keep process.loadEnvFile() as a way to load the pulled OIDC token
* docs(mobile): restore the imports in the several-devices and agent-tools configs
* docs(agent-steps): shorten
Prose words 841 -> 764.
* docs(agents): shorten
Prose words 789 -> 675.
* docs(api-testing): shorten
Prose words 270 -> 266.
* docs(authentication): shorten
Prose words 1000 -> 849.
* docs(browser): shorten
Prose words 1934 -> 1697.
* docs(bug-bash): shorten
Prose words 615 -> 585.
* docs(cache): shorten
Prose words 2793 -> 2374.
* docs(ci): shorten
Prose words 1338 -> 1182.
* docs(ci/bitrise): shorten
Prose words 321 -> 306.
* docs(ci/codemagic): shorten
Prose words 259 -> 250.
* docs(ci/eas-workflows): shorten
Prose words 431 -> 394.
* docs(ci/github-actions): shorten
Prose words 544 -> 453.
* docs(coding-agents): shorten
Prose words 841 -> 735.
* docs(core-concepts): shorten
Prose words 686 -> 620.
* docs(debugging): shorten
Prose words 1826 -> 1604.
* docs(decision-models): shorten
Prose words 1003 -> 942.
* docs(example-projects): shorten
Prose words 347 -> 288.
* docs(executors): shorten
Prose words 1297 -> 1114.
* docs(explore): shorten
Prose words 451 -> 413.
* docs(github): shorten
Prose words 723 -> 626.
* docs(index): shorten
Prose words 387 -> 333.
* docs(integrations/eas): shorten
Prose words 1293 -> 1119.
* docs(integrations/index): shorten
Prose words 174 -> 163.
* docs(integrations/kernel): shorten
Prose words 794 -> 620.
* docs(integrations/smol): shorten
Prose words 924 -> 855.
* docs(migrate/cypress): shorten
Prose words 957 -> 890.
* docs(migrate/detox): shorten
Prose words 1073 -> 1021.
* docs(migrate/maestro): shorten
Prose words 2464 -> 2246.
* docs(migrate/playwright): shorten
Prose words 4835 -> 4546.
* docs(migrate/selenium): shorten
Prose words 933 -> 887.
* docs(mobile): shorten
Prose words 2912 -> 2595.
* docs(models): shorten
Prose words 1187 -> 1048.
* docs(quickstart): shorten
Prose words 980 -> 946.
* docs(security): shorten
Prose words 587 -> 559.
* docs(subscriptions): shorten
Prose words 694 -> 651.
* docs(telemetry): shorten
Prose words 2158 -> 1999.
* docs(tools): shorten
Prose words 460 -> 397.
* docs(visual-testing): shorten
Prose words 583 -> 566.
* docs(web): shorten
Prose words 1262 -> 1104.
* docs(writing-an-engine): shorten
Prose words 1731 -> 1522.
* docs(agent-steps): address review findings
* docs(agents): address review findings
* docs(authentication): address review findings
* docs(cache): address review findings
* docs(ci): address review findings
* docs(coding-agents): address review findings
* docs(debugging): address review findings
* docs(example-projects): address review findings
* docs(executors): address review findings
* docs(index): address review findings
* docs(integrations/eas): address review findings
* docs(migrate/maestro): address review findings
* docs(subscriptions): address review findings
* docs(telemetry): address review findings
* docs(tools): address review findings
* docs(web): address review findings
* docs(writing-an-engine): address review findings