20 use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase;
50 $this->setUpBackendUserFromFixture(1);
51 $GLOBALS[
'LANG'] = GeneralUtility::makeInstance(LanguageService::class);
53 $formEngineTestService = GeneralUtility::makeInstance(FormTestService::class);
54 $formResult = $formEngineTestService->createNewRecordForm(
'be_groups');
56 foreach (static::$backendGroupsFields as $expectedField) {
57 $this->assertNotFalse(
58 $formEngineTestService->formHtmlContainsField($expectedField, $formResult[
'html']),
59 'The field ' . $expectedField .
' is not in the HTML'