function StandardPerformanceTest::submitLoginForm

Same name in other branches
  1. 10 core/profiles/standard/tests/src/FunctionalJavascript/StandardPerformanceTest.php \Drupal\Tests\standard\FunctionalJavascript\StandardPerformanceTest::submitLoginForm()

Submit the user login form.

2 calls to StandardPerformanceTest::submitLoginForm()
StandardPerformanceTest::testLogin in core/profiles/standard/tests/src/FunctionalJavascript/StandardPerformanceTest.php
Tests the performance of logging in.
StandardPerformanceTest::testLoginBlock in core/profiles/standard/tests/src/FunctionalJavascript/StandardPerformanceTest.php
Tests the performance of logging in via the user login block.

File

core/profiles/standard/tests/src/FunctionalJavascript/StandardPerformanceTest.php, line 305

Class

StandardPerformanceTest
Tests the performance of basic functionality in the standard profile.

Namespace

Drupal\Tests\standard\FunctionalJavascript

Code

protected function submitLoginForm($account) {
    $this->submitForm([
        'name' => $account->getAccountName(),
        'pass' => $account->passRaw,
    ], 'Log in');
}

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