Search for assertSession

  1. Search 7.x for assertSession
  2. Search 9.5.x for assertSession
  3. Search 10.3.x for assertSession
  4. Search 11.x for assertSession
  5. Other projects
Title Object type File name Summary
AssertLegacyTrait::assertSession function core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php Returns WebAssert object.
AssertLegacyTraitTest::assertSession function core/tests/Drupal/Tests/Core/Assert/AssertLegacyTraitTest.php Returns WebAssert object.
BigPipeTest::assertSessionCookieExists function core/modules/big_pipe/tests/src/Functional/BigPipeTest.php Asserts whether a session cookie exists or not.
JavascriptTestBase::assertSession function core/tests/Drupal/FunctionalJavascriptTests/JavascriptTestBase.php Returns WebAssert object.
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 Test 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 SimpleTest browser sent a session cookie.
SessionTest::assertSessionEmpty function core/modules/system/tests/src/Functional/Session/SessionTest.php Assert whether $_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.