You are here

protected function ConfigPageTest::logIn in Require on Publish 8

Logs in and navigates to a field config edit page.

7 calls to ConfigPageTest::logIn()
ConfigPageTest::testRequireOnPublishDisable in tests/src/FunctionalJavascript/ConfigPageTest.php
Test that the 'Required on Publish' field can be succesfully disabled.
ConfigPageTest::testRequireOnPublishEnable in tests/src/FunctionalJavascript/ConfigPageTest.php
Test that the 'Required on Publish' field can be succesfully enabled.
ConfigPageTest::testRequireOnPublishExists in tests/src/FunctionalJavascript/ConfigPageTest.php
Test that the 'Required on Publish' field exists.
ConfigPageTest::testRequireOnPublishToggles in tests/src/FunctionalJavascript/ConfigPageTest.php
Test that the 'Required on Publish' field toggle works.
ConfigPageTest::testWarningToggle in tests/src/FunctionalJavascript/ConfigPageTest.php
Test that the warning toggle works.

... See full list

File

tests/src/FunctionalJavascript/ConfigPageTest.php, line 78

Class

ConfigPageTest
Tests the 'Require on Publish' functionality on field config pages.

Namespace

Drupal\Tests\require_on_publish\FunctionalJavascript

Code

protected function logIn() {
  $this
    ->drupalLogin($this->account);
  $this
    ->drupalGet('admin/structure/types/manage/article/fields/node.article.field_tags');
}