Skip to content

Guides

Connect a Laravel repository, record Pest browser tests in GitHub Actions and review the videos before you merge.

Start here

Four guides, in order

  1. Installing Diff Stage in a Laravel project

    Connect your repository, install the Pest browser recorder and check your first local recording.

    Setup3 min read

  2. Recording Pest browser tests in GitHub Actions

    Record selected tests on pull requests and publish them with a two-job workflow and GitHub Actions identity.

    CI5 min read

  3. Comparing browser test videos before merging a PR

    Watch a PR's videos beside the approved default-branch recording, then check actions and browser problems.

    Review4 min read

  4. Using the Diff Stage agent skill

    Ask your coding agent for a local feature demo or browser recordings to review before merging.

    Agents4 min read

Articles and comparisons

How recorded browser tests compare with other ways to review UI changes.

Install the recorder

A Pest plugin that records your browser tests. Add it as a dev dependency, then follow the first guide.

Terminal
composer require --dev diff-stage/recorder:^0.3 -W
php artisan boost:update