Search for test

  1. Search 7.x for test
  2. Search 9.5.x for test
  3. Search 8.9.x for test
  4. Search 10.3.x for test
  5. Search 11.x for test
  6. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Test class core/modules/media/tests/modules/media_test_source/src/Plugin/media/Source/Test.php Provides test media source.
Test class core/modules/system/tests/modules/test_page_test/src/Controller/Test.php Defines a test controller for page titles.

All search results

Title Object type File name Summary
WebAssertTest::testLinkByHrefExistsExact function core/tests/Drupal/Tests/Core/Test/WebAssertTest.php Tests linkExistsByHref() functionality.
WebAssertTest::testLinkByHrefNotExists function core/tests/Drupal/Tests/Core/Test/WebAssertTest.php Tests linkByHrefNotExists() functionality.
WebAssertTest::testLinkByHrefNotExistsExact function core/tests/Drupal/Tests/Core/Test/WebAssertTest.php Tests linkByHrefNotExistsExact() functionality.
WebAssertTest::testLinkExistsExact function core/tests/Drupal/Tests/Core/Test/WebAssertTest.php Tests linkExistsExact() functionality.
WebAssertTest::testLinkNotExistsExact function core/tests/Drupal/Tests/Core/Test/WebAssertTest.php Tests linkNotExistsExact() functionality.
WebAssertTest::testPageContainsNoDuplicateId function core/tests/Drupal/Tests/Core/Test/WebAssertTest.php Tests pageContainsNoDuplicateId() functionality.
WebAssertTest::testPageTextContainsOnce function core/tests/Drupal/Tests/Core/Test/WebAssertTest.php Tests page text contains once.
WebAssertTest::testPageTextMatchesCount function core/tests/Drupal/Tests/Core/Test/WebAssertTest.php Tests page text matches count.
WebAssertTest::testPipeCharInLocator function core/tests/Drupal/Tests/Core/Test/WebAssertTest.php Tests linkExists() with pipe character (|) in locator.
WebAssertTest::testResponseHeaderDoesNotExist function core/tests/Drupal/Tests/Core/Test/WebAssertTest.php Tests WebAssert::responseHeaderDoesNotExist().
WebAssertTest::testResponseHeaderExists function core/tests/Drupal/Tests/Core/Test/WebAssertTest.php Tests WebAssert::responseHeaderExists().
WebAssertTest::testTextAsserts function core/tests/Drupal/Tests/Core/Test/WebAssertTest.php Tests legacy text asserts.
WebAssertTest::visit function core/tests/Drupal/Tests/Core/Test/WebAssertTest.php Simulate a page visit and expect a response.
WebDriverTestBase class core/tests/Drupal/FunctionalJavascriptTests/WebDriverTestBase.php Runs a browser test using a driver that supports JavaScript.
WebDriverTestBase.php file core/tests/Drupal/FunctionalJavascriptTests/WebDriverTestBase.php
WebDriverTestBase::$disableCssAnimations property core/tests/Drupal/FunctionalJavascriptTests/WebDriverTestBase.php Disables CSS animations in tests for more reliable testing.
WebDriverTestBase::$failOnJavascriptConsoleErrors property core/tests/Drupal/FunctionalJavascriptTests/WebDriverTestBase.php Determines if a test should fail on JavaScript console errors.
WebDriverTestBase::$minkDefaultDriverClass property core/tests/Drupal/FunctionalJavascriptTests/WebDriverTestBase.php
WebDriverTestBase::assertJsCondition function core/tests/Drupal/FunctionalJavascriptTests/WebDriverTestBase.php Waits for the given time or until the given JS condition becomes TRUE.
WebDriverTestBase::assertSession function core/tests/Drupal/FunctionalJavascriptTests/WebDriverTestBase.php Returns WebAssert object.
WebDriverTestBase::createScreenshot function core/tests/Drupal/FunctionalJavascriptTests/WebDriverTestBase.php Creates a screenshot.
WebDriverTestBase::drupalGet function core/tests/Drupal/FunctionalJavascriptTests/WebDriverTestBase.php
WebDriverTestBase::failOnJavaScriptErrors function core/tests/Drupal/FunctionalJavascriptTests/WebDriverTestBase.php Triggers a test failure if a JavaScript error was encountered.
WebDriverTestBase::getDrupalSettings function core/tests/Drupal/FunctionalJavascriptTests/WebDriverTestBase.php Gets the current Drupal javascript settings and parses into an array.
WebDriverTestBase::getHtmlOutputHeaders function core/tests/Drupal/FunctionalJavascriptTests/WebDriverTestBase.php
WebDriverTestBase::getMinkDriverArgs function core/tests/Drupal/FunctionalJavascriptTests/WebDriverTestBase.php
WebDriverTestBase::initFrontPage function core/tests/Drupal/FunctionalJavascriptTests/WebDriverTestBase.php
WebDriverTestBase::initMink function core/tests/Drupal/FunctionalJavascriptTests/WebDriverTestBase.php
WebDriverTestBase::installModulesFromClassProperty function core/tests/Drupal/FunctionalJavascriptTests/WebDriverTestBase.php
WebDriverTestBase::tearDown function core/tests/Drupal/FunctionalJavascriptTests/WebDriverTestBase.php
WeightTest class core/tests/Drupal/KernelTests/Core/Render/Element/WeightTest.php Tests Drupal\Core\Render\Element\Weight.
WeightTest.php file core/tests/Drupal/KernelTests/Core/Render/Element/WeightTest.php
WeightTest::$modules property core/tests/Drupal/KernelTests/Core/Render/Element/WeightTest.php
WeightTest::setUp function core/tests/Drupal/KernelTests/Core/Render/Element/WeightTest.php
WeightTest::testProcessWeight function core/tests/Drupal/KernelTests/Core/Render/Element/WeightTest.php Tests existing #default_value value in #options list.
WeightTest::testProcessWeightSelectMax function core/tests/Drupal/KernelTests/Core/Render/Element/WeightTest.php Tests transformation from "select" to "number" for MAX_DELTA + 1.
WhoIsOnlineBlockTest class core/modules/user/tests/src/Kernel/WhoIsOnlineBlockTest.php Tests the Who's Online Block.
WhoIsOnlineBlockTest.php file core/modules/user/tests/src/Kernel/WhoIsOnlineBlockTest.php
WhoIsOnlineBlockTest::$block property core/modules/user/tests/src/Kernel/WhoIsOnlineBlockTest.php The block being tested.
WhoIsOnlineBlockTest::$controller property core/modules/user/tests/src/Kernel/WhoIsOnlineBlockTest.php The block storage.
WhoIsOnlineBlockTest::$modules property core/modules/user/tests/src/Kernel/WhoIsOnlineBlockTest.php
WhoIsOnlineBlockTest::$renderer property core/modules/user/tests/src/Kernel/WhoIsOnlineBlockTest.php The renderer.
WhoIsOnlineBlockTest::setUp function core/modules/user/tests/src/Kernel/WhoIsOnlineBlockTest.php
WhoIsOnlineBlockTest::testWhoIsOnlineBlock function core/modules/user/tests/src/Kernel/WhoIsOnlineBlockTest.php Tests the Who's Online block.
WidgetAccessTest class core/modules/media_library/tests/src/FunctionalJavascript/WidgetAccessTest.php Tests the media library UI access.
WidgetAccessTest.php file core/modules/media_library/tests/src/FunctionalJavascript/WidgetAccessTest.php
WidgetAccessTest::$defaultTheme property core/modules/media_library/tests/src/FunctionalJavascript/WidgetAccessTest.php
WidgetAccessTest::testRequiredFieldNoAccess function core/modules/media_library/tests/src/FunctionalJavascript/WidgetAccessTest.php Tests the widget with a required field that the user can't access.
WidgetAccessTest::testWidgetAccess function core/modules/media_library/tests/src/FunctionalJavascript/WidgetAccessTest.php Tests that the widget access works as expected.
WidgetAnonymousTest class core/modules/media_library/tests/src/FunctionalJavascript/WidgetAnonymousTest.php Tests that the widget works as expected for anonymous users.

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