diff --git a/composer.lock b/composer.lock index a2d212e..ac9fb30 100644 --- a/composer.lock +++ b/composer.lock @@ -5630,16 +5630,16 @@ }, { "name": "codeception/lib-innerbrowser", - "version": "4.1.0", + "version": "4.1.1", "source": { "type": "git", "url": "https://github.com/Codeception/lib-innerbrowser.git", - "reference": "8af7f8402f976b32f67a83dfd4e31f8f5b1f7db3" + "reference": "0fa80deaed7da6a92a0cd4117338394c69196ec6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Codeception/lib-innerbrowser/zipball/8af7f8402f976b32f67a83dfd4e31f8f5b1f7db3", - "reference": "8af7f8402f976b32f67a83dfd4e31f8f5b1f7db3", + "url": "https://api.github.com/repos/Codeception/lib-innerbrowser/zipball/0fa80deaed7da6a92a0cd4117338394c69196ec6", + "reference": "0fa80deaed7da6a92a0cd4117338394c69196ec6", "shasum": "" }, "require": { @@ -5683,9 +5683,9 @@ ], "support": { "issues": "https://github.com/Codeception/lib-innerbrowser/issues", - "source": "https://github.com/Codeception/lib-innerbrowser/tree/4.1.0" + "source": "https://github.com/Codeception/lib-innerbrowser/tree/4.1.1" }, - "time": "2026-02-07T10:09:13+00:00" + "time": "2026-06-26T22:06:27+00:00" }, { "name": "codeception/lib-web", diff --git a/tests/Functional/BrowserCest.php b/tests/Functional/BrowserCest.php index 53a33a8..7be1d68 100644 --- a/tests/Functional/BrowserCest.php +++ b/tests/Functional/BrowserCest.php @@ -28,6 +28,14 @@ public function assertBrowserHistoryIsNotOnFirstPage(FunctionalTester $I) $I->assertBrowserHistoryIsNotOnFirstPage(); } + public function assertBrowserHistoryIsNotOnLastPage(FunctionalTester $I) + { + $I->amOnPage('/'); + $I->amOnPage('/login'); + $I->moveBack(); + $I->assertBrowserHistoryIsNotOnLastPage(); + } + public function assertBrowserHistoryIsOnFirstPage(FunctionalTester $I) { $I->amOnPage('/');