Manager class Manager (View source) Traits CapsuleManagerTrait
$this withoutMiddleware() Disable middleware for the test. Return Value $this
$this within(string $element, Closure $callback) Narrow the test content to a specific area of the page. Parameters string $element Closure $callback Return Value $this
$this visitRoute(string $route, array $parameters = array()) Visit the given named route with a GET request. Parameters string $route array $parameters Return Value $this
$this visit(string $uri) Visit the given URI with a GET request. Parameters string $uri Return Value $this
$this seeText(string $text, bool $negate = false) Assert that a given string is seen on the current text. Parameters string $text bool $negate Return Value $this
$this seeLink(string $text, string|null $url = null, bool $negate = false) Assert that a given link is seen on the page. Parameters string $text string|null $url bool $negate Return Value $this
$this seeJsonStructure(array $structure = null, array|null $responseData = null) Assert that the JSON response has a given structure. Parameters array $structure array|null $responseData Return Value $this
$this seeJsonEquals(array $data) Assert that the response contains an exact JSON array. Parameters array $data Return Value $this
Page 494 of 996