Skip to content

Commit

Permalink
Prepare 9.9.1 release
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed Nov 20, 2024
1 parent e5640ff commit bf5cc1d
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 3 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG-9.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench-dusk`.

## 9.9.1

Released: 2024-11-20

### Changes

* Update minimum support for Testbench v9.6.1+. ([v9.6.0...v9.6.1](https://github.com/orchestral/testbench/compare/v9.6.0...v9.6.1))
* Update minimum support for Testbench Core v9.6.2+. ([v9.6.0...v9.6.2](https://github.com/orchestral/testbench-core/compare/v9.6.0...v9.6.2))

## 9.9.0

Released: 2024-11-19
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
"laravel/dusk": "^8.1",
"laravel/serializable-closure": "^1.3 || ^2.0",
"orchestra/dusk-updater": "^2.6",
"orchestra/testbench": "^9.6",
"orchestra/testbench-core": ">=9.6.0 <9.7.0",
"orchestra/testbench": "^9.6.1",
"orchestra/testbench-core": ">=9.6.2 <9.7.0",
"php-webdriver/webdriver": "^1.15.1",
"symfony/polyfill-php83": "^1.31"
},
Expand Down
1 change: 1 addition & 0 deletions testbench.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ migrations:
- workbench/database/migrations

workbench:
health: true
welcome: false
build:
- drop-sqlite-db
Expand Down
3 changes: 2 additions & 1 deletion tests/Browser/DatabaseMigrationsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
#[WithConfig('database.default', 'sqlite')]
class DatabaseMigrationsTest extends TestCase
{
use DatabaseMigrations, WithWorkbench;
use DatabaseMigrations;
use WithWorkbench;

/** {@inheritDoc} */
#[\Override]
Expand Down
10 changes: 10 additions & 0 deletions tests/Browser/WorkbenchTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,16 @@ public function it_can_browse_the_welcome_page()
);
}

#[Test]
public function it_can_browse_the_health_page()
{
$this->browse(static fn ($browser) => $browser
->visit('/up')
->assertSee('HTTP request received')
->assertSee('Response rendered in')
);
}

#[Test]
public function it_can_browse_routes_from_discovers_routes()
{
Expand Down

0 comments on commit bf5cc1d

Please sign in to comment.