20 use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase;
37 'stagechg_notification',
38 'edit_allow_notificaton_settings',
39 'edit_notification_preselection',
40 'edit_notification_defaults',
41 'publish_allow_notificaton_settings',
42 'publish_notification_preselection',
43 'publish_notification_defaults',
44 'execute_allow_notificaton_settings',
45 'execute_notification_preselection',
46 'execute_notification_defaults',
60 protected function setUp()
64 $this->setUpBackendUserFromFixture(1);
65 $GLOBALS[
'LANG'] = GeneralUtility::makeInstance(LanguageService::class);
67 $this->importDataSet(ORIGINAL_ROOT .
'typo3/sysext/workspaces/Tests/Functional/Fixtures/sys_filemounts.xml');
75 $formEngineTestService = GeneralUtility::makeInstance(FormTestService::class);
76 $formResult = $formEngineTestService->createNewRecordForm(
'sys_workspace');
78 foreach (static::$workspaceFields as $expectedField) {
79 $this->assertNotFalse(
80 $formEngineTestService->formHtmlContainsField($expectedField, $formResult[
'html']),
81 'The field ' . $expectedField .
' is not in the form HTML'