APIResponseAssertions

Playwright\Assertions\APIResponseAssertionsInterface

Methods

toBeOK()

self
function toBeOK(?AssertionOptions $options = null): self

toHaveStatus()

self
function toHaveStatus(int $status, ?AssertionOptions $options = null): self

toHaveJSON()

self
function toHaveJSON(mixed $expected, ?AssertionOptions $options = null): self

not()

self
function not(): self