diff --git a/tests/Feature/AdminPlatformOrderFiltersReceiptStatusHintShouldAppearNearReceiptSelectTest.php b/tests/Feature/AdminPlatformOrderFiltersReceiptStatusHintShouldAppearNearReceiptSelectTest.php new file mode 100644 index 0000000..350f4cd --- /dev/null +++ b/tests/Feature/AdminPlatformOrderFiltersReceiptStatusHintShouldAppearNearReceiptSelectTest.php @@ -0,0 +1,32 @@ +seed(); + + $this->post('/admin/login', [ + 'email' => 'platform.admin@demo.local', + 'password' => 'Platform@123456', + ])->assertRedirect('/admin'); + } + + public function test_platform_orders_receipt_status_hint_should_appear_near_receipt_select(): void + { + $this->loginAsPlatformAdmin(); + + $res = $this->get('/admin/platform-orders'); + $res->assertOk(); + + $html = (string) $res->getContent(); + $this->assertMatchesRegularExpression('/