Skip to content

Guides

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

Start here

Three 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.

    CI4 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

Install the recorder

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

Terminal
composer config repositories.diff-stage vcs https://github.com/diff-stage/recorder
composer require --dev "diff-stage/recorder:dev-main#10e02da13722139b2f872fc155eb264056e42e3b" -W