20 use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase;
44 $this->setUpBackendUserFromFixture(1);
45 $GLOBALS[
'LANG'] = GeneralUtility::makeInstance(LanguageService::class);
47 $formEngineTestService = GeneralUtility::makeInstance(FormTestService::class);
48 $formResult = $formEngineTestService->createNewRecordForm(
'sys_note');
50 foreach (static::$noteFields as $expectedField) {
51 $this->assertNotFalse(
52 $formEngineTestService->formHtmlContainsField($expectedField, $formResult[
'html']),
53 'The field ' . $expectedField .
' is not in the form HTML'