public function PlanCRUDTest::testFieldsVisibility in farmOS 2.x
Fields are displayed correctly.
File
- modules/
core/ plan/ tests/ src/ Functional/ PlanCRUDTest.php, line 20
Class
- PlanCRUDTest
- Tests the plan CRUD.
Namespace
Drupal\Tests\plan\FunctionalCode
public function testFieldsVisibility() {
$this
->drupalGet('plan/add/default');
$assert_session = $this
->assertSession();
$assert_session
->statusCodeEquals(200);
$assert_session
->fieldExists('name[0][value]');
$assert_session
->fieldExists('status');
$assert_session
->fieldExists('revision_log_message[0][value]');
$assert_session
->fieldExists('uid[0][target_id]');
$assert_session
->fieldExists('created[0][value][date]');
$assert_session
->fieldExists('created[0][value][time]');
}