🎉 Release 3.5.0
🆕 New Assertions
you can now use all Symfony assertions directly in Codeception with the $I->
syntax.
- Browser assertions:
assertBrowserCookieValueSame
assertBrowserHasCookie
assertBrowserNotHasCookie
assertRequestAttributeValueSame
assertResponseCookieValueSame
assertResponseFormatSame
assertResponseHasCookie
assertResponseHasHeader
assertResponseHeaderNotSame
assertResponseHeaderSame
assertResponseIsSuccessful
assertResponseIsUnprocessable
assertResponseNotHasCookie
assertResponseNotHasHeader
assertResponseRedirects
assertResponseStatusCodeSame
- DomCrawler assertions:
assertCheckboxChecked
assertCheckboxNotChecked
assertInputValueNotSame
assertInputValueSame
assertPageTitleContains
assertPageTitleSame
assertSelectorExists
assertSelectorNotExists
assertSelectorTextContains
assertSelectorTextNotContains
assertSelectorTextSame
- HttpClient assertions:
assertHttpClientRequest
assertHttpClientRequestCount
assertNotHttpClientRequest
- Mailer assertions:
assertEmailCount
assertEmailIsQueued
assertEmailIsNotQueued
assertQueuedEmailCount
- Form assertions:
assertFormValue
assertNoFormValue
🔧 Other Changes
cache_router
documentation enhancement by @rtwent in #195- Simplify module logic in #196
- PHP 8.4 compatibility: nullable types and tests by @W0rma in #197 and #201
🚀 Enjoy the new features and keep building better tests!
New Contributors
Full Changelog: 3.4.0...3.5.0