Search for assertSession

  1. Search 7.x for assertSession
  2. Search 9.5.x for assertSession
  3. Search 8.9.x for assertSession
  4. Search 10.3.x for assertSession
  5. Other projects
Title Object type File name Summary
BigPipeTest::assertSessionCookieExists function core/modules/big_pipe/tests/src/Functional/BigPipeTest.php Asserts whether a session cookie exists or not.
SessionAuthenticationTest::assertSessionData function core/modules/system/tests/src/Functional/Session/SessionAuthenticationTest.php Checks the session data returned by the session test routes.
SessionExistsCacheContextTest::assertSessionCookieOnClient function core/modules/system/tests/src/Functional/Cache/SessionExistsCacheContextTest.php Asserts whether a session cookie is present on the client or not.
SessionHttpsTest::assertSessionIds function core/modules/system/tests/src/Functional/Session/SessionHttpsTest.php Tests that there exists a session with two specific session IDs.
SessionTest::assertSessionCookie function core/modules/system/tests/src/Functional/Session/SessionTest.php Assert whether the test browser sent a session cookie.
SessionTest::assertSessionEmpty function core/modules/system/tests/src/Functional/Session/SessionTest.php Assert whether the session is empty at the beginning of the request.
UiHelperTrait::assertSession function core/tests/Drupal/Tests/UiHelperTrait.php Returns WebAssert object.
WebDriverTestBase::assertSession function core/tests/Drupal/FunctionalJavascriptTests/WebDriverTestBase.php Returns WebAssert object.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.