Codeception / Codeception/lib-innerbrowser
Suggestion: `seeResponseIsPdf()`
Aperta
- Lingua principale
- PHP
- Stelle
- 87
- Fork
- 20
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
It would be nice to be able to assert that a response is indeed a PDF.
Right now, I'm doing it with something like:
```php
$I->seeHttpHeader('Content-Type', 'application/pdf');
$I->seeResponseContains('%PDF-1.');
```
REST module has [`seeResponseIsJson()`](https://codeception.com/docs/modules/REST#seeResponseIsJson) and [`seeResponseIsXml()`](https://codeception.com/docs/modules/REST#seeResponseIsXml)
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.