From c3ad93ccf0c6874f264134902d0ad2421f28dd4f Mon Sep 17 00:00:00 2001 From: Marco Havermans Date: Tue, 27 Aug 2024 14:06:36 +0200 Subject: [PATCH] Add TestView to ide-helper --- ide-helper.php | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/ide-helper.php b/ide-helper.php index 96fe561..cfeb5f8 100644 --- a/ide-helper.php +++ b/ide-helper.php @@ -21,4 +21,25 @@ public function assertFormExists($selector = 'form', $callback = null) return $instance; } } + + class TestView + { + public function assertHtml5() + { + /** @var \Illuminate\Testing\TestResponse $instance */ + return $instance; + } + + public function assertElementExists($selector = 'body', $callback = null) + { + /** @var \Illuminate\Testing\TestResponse $instance */ + return $instance; + } + + public function assertFormExists($selector = 'form', $callback = null) + { + /** @var \Illuminate\Testing\TestResponse $instance */ + return $instance; + } + } }