Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
behat: '^3.23'
dependencies: 'lowest'
- php: '8.4'
behat: '4.0.0-alpha1'
behat: '^4.0'
dependencies: 'highest'

steps:
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# CHANGELOG

## [Unreleased]

- Support Behat 4.0 stable: `behat/behat` now allows `^3.23 || ^4.0`, and CI runs
against the latest Behat 4.x instead of 4.0.0-alpha1.

## [0.7.0] - 2026-09-08

First release. A Behat extension that runs scenarios in a Playwright-controlled
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ it keeps the Mink API and swaps the driver.

## Installation

The extension requires PHP 8.2 or later, Behat 3.23 or later, and Playwright
PHP 1.4 or later.
The extension requires PHP 8.2 or later, Behat 3.23 or later (including 4.x),
and Playwright PHP 1.4 or later.

```bash
composer require --dev playwright-php/playwright-behat
Expand Down Expand Up @@ -153,7 +153,7 @@ vendor/bin/phpunit
The suite includes a real `behat` run against `tests/Fixtures`, including a
failing scenario that must leave a screenshot. Repository CI runs it on PHP
8.2, 8.3 and 8.4 against the latest Behat 3.x, plus one job on the lowest
supported dependencies and one on Behat 4.0.0-alpha1.
supported dependencies and one on the latest Behat 4.x.

## License

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"homepage": "https://playwright-php.dev/behat",
"require": {
"php": "^8.2",
"behat/behat": "^3.23",
"behat/behat": "^3.23 || ^4.0",
"playwright-php/playwright": "^1.4",
"symfony/config": "^5.4 || ^6.4 || ^7.0 || ^8.0",
"symfony/dependency-injection": "^5.4 || ^6.4 || ^7.0 || ^8.0",
Expand Down
Loading