You are here

protected function AuthenticationFormJsTest::visitAuthenticationForm in Apigee Edge 8

Visits the Authentication form for testing.

1 call to AuthenticationFormJsTest::visitAuthenticationForm()
AuthenticationFormJsTest::testAuthenticationForm in tests/src/FunctionalJavascript/Form/AuthenticationFormJsTest.php
Tests the Authentication form.

File

tests/src/FunctionalJavascript/Form/AuthenticationFormJsTest.php, line 226

Class

AuthenticationFormJsTest
Apigee Edge API credentials, authentication form, key integration test.

Namespace

Drupal\Tests\apigee_edge\FunctionalJavascript\Form

Code

protected function visitAuthenticationForm() : void {
  if ($this->loggedInUser
    ->id() !== $this->rootUser) {
    $this
      ->drupalLogin($this->rootUser);
  }
  $this
    ->drupalGet(Url::fromRoute('apigee_edge.settings'));
}