‪TYPO3CMS  11.5
ActionTest.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
5 /*
6  * This file is part of the TYPO3 CMS project.
7  *
8  * It is free software; you can redistribute it and/or modify it under
9  * the terms of the GNU General Public License, either version 2
10  * of the License, or any later version.
11  *
12  * For the full copyright and license information, please read the
13  * LICENSE.txt file that was distributed with this source code.
14  *
15  * The TYPO3 project - inspiring people to share!
16  */
17 
19 
21 use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest;
22 use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequestContext;
23 use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\ResponseContent;
24 
29 {
33  public function ‪verifyCleanReferenceIndex(): void
34  {
35  // The test verifies the imported data set has a clean reference index by the check in tearDown()
36  self::assertTrue(true);
37  }
38 
43  public function ‪createContents(): void
44  {
45  parent::createContents();
46  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
47  $this->assertCSVDataSet(__DIR__ . '/DataSet/createContents.csv');
48 
49  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageId));
50  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
51  self::assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
52  ->setTable(self::TABLE_Content)->setField('header')->setValues('Testing #1', 'Testing #2'));
53  }
54 
58  public function ‪createContentAndCopyContent(): void
59  {
60  parent::createContentAndCopyContent();
61  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
62  $this->assertCSVDataSet(__DIR__ . '/DataSet/createContentAndCopyContent.csv');
63 
64  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageId));
65  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
66  self::assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
67  ->setTable(self::TABLE_Content)->setField('header')->setValues('Testing #1', 'Testing #1 (copy 1)'));
68  }
69 
74  public function ‪modifyContent(): void
75  {
76  parent::modifyContent();
77  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
78  $this->assertCSVDataSet(__DIR__ . '/DataSet/modifyContent.csv');
79 
80  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageId));
81  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
82  self::assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
83  ->setTable(self::TABLE_Content)->setField('header')->setValues('Testing #1'));
84  }
85 
89  public function ‪hideContent(): void
90  {
91  parent::hideContent();
92  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
93  $this->assertCSVDataSet(__DIR__ . '/DataSet/hideContent.csv');
94 
95  $response = $this->executeFrontendSubRequest(
96  (new InternalRequest())->withPageId(self::VALUE_PageId),
97  (new InternalRequestContext())->withBackendUserId(self::VALUE_BackendUserId)
98  );
99  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
100  self::assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
101  ->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #2'));
102  }
103 
107  public function ‪hideContentAndMoveToDifferentPage(): void
108  {
109  parent::hideContent();
110  parent::moveContentToDifferentPage();
111  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
112  $this->assertCSVDataSet(__DIR__ . '/DataSet/hideContentAndMoveToDifferentPage.csv');
113 
114  $response = $this->executeFrontendSubRequest(
115  (new InternalRequest())->withPageId(self::VALUE_PageId),
116  (new InternalRequestContext())->withBackendUserId(self::VALUE_BackendUserId)
117  );
118  $responseSectionsSource = ResponseContent::fromString((string)$response->getBody())->getSections();
119  self::assertThat($responseSectionsSource, $this->‪getRequestSectionHasRecordConstraint()
120  ->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #1'));
121  self::assertThat($responseSectionsSource, $this->‪getRequestSectionDoesNotHaveRecordConstraint()
122  ->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #2'));
123  $response = $this->executeFrontendSubRequest(
124  (new InternalRequest())->withPageId(self::VALUE_PageIdTarget),
125  (new InternalRequestContext())->withBackendUserId(self::VALUE_BackendUserId)
126  );
127  $responseSectionsTarget = ResponseContent::fromString((string)$response->getBody())->getSections();
128  self::assertThat($responseSectionsTarget, $this->‪getRequestSectionHasRecordConstraint()
129  ->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #2'));
130  }
131 
135  public function ‪deleteContent(): void
136  {
137  parent::deleteContent();
138  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
139  $this->assertCSVDataSet(__DIR__ . '/DataSet/deleteContent.csv');
140 
141  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageId));
142  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
143  self::assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
144  ->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #1'));
145  self::assertThat($responseSections, $this->‪getRequestSectionDoesNotHaveRecordConstraint()
146  ->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #2'));
147  }
148 
153  {
154  // Create translated page first
155  $this->actionService->copyRecordToLanguage(self::TABLE_Page, self::VALUE_PageId, self::VALUE_LanguageId);
156  parent::deleteLocalizedContentAndDeleteContent();
157  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
158  $this->assertCSVDataSet(__DIR__ . '/DataSet/deleteLocalizedContentNDeleteContent.csv');
159 
160  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageId)->withLanguageId(self::VALUE_LanguageId));
161  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
162  self::assertThat($responseSections, $this->‪getRequestSectionDoesNotHaveRecordConstraint()
163  ->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #3', '[Translate to Dansk:] Regular Element #3', 'Regular Element #1'));
164  self::assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
165  ->setTable(self::TABLE_Content)->setField('header')->setValues('[Translate to Dansk:] Regular Element #1', 'Regular Element #2'));
166  }
167 
171  public function ‪copyContent(): void
172  {
173  parent::copyContent();
174  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
175  $this->assertCSVDataSet(__DIR__ . '/DataSet/copyContent.csv');
176 
177  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageId));
178  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
179  self::assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
180  ->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #2 (copy 1)'));
181  }
182 
186  public function ‪copyContentToLanguage(): void
187  {
188  // Create translated page first
189  $this->actionService->copyRecordToLanguage(self::TABLE_Page, self::VALUE_PageId, self::VALUE_LanguageId);
190  parent::copyContentToLanguage();
191  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
192  $this->assertCSVDataSet(__DIR__ . '/DataSet/copyContentToLanguage.csv');
193 
194  // Set up "dk" to not have overlays
195  $languageConfiguration = ‪$this->siteLanguageConfiguration;
196  $languageConfiguration[‪self::VALUE_LanguageId]['fallbackType'] = 'free';
197  $this->‪setUpFrontendSite(1, $languageConfiguration);
198  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageId)->withLanguageId(self::VALUE_LanguageId));
199  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
200  self::assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
201  ->setTable(self::TABLE_Content)->setField('header')->setValues('[Translate to Dansk:] Regular Element #3', '[Translate to Dansk:] Regular Element #2'));
202  }
203 
208  {
209  // Create translated page first
210  $this->actionService->copyRecordToLanguage(self::TABLE_Page, self::VALUE_PageId, self::VALUE_LanguageIdSecond);
211  parent::copyContentToLanguageFromNonDefaultLanguage();
212  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
213  $this->assertCSVDataSet(__DIR__ . '/DataSet/copyContentToLanguageFromNonDefaultLanguage.csv');
214 
215  // Set up "de" to not have overlays
216  $languageConfiguration = ‪$this->siteLanguageConfiguration;
217  $languageConfiguration[‪self::VALUE_LanguageIdSecond]['fallbackType'] = 'free';
218  $this->‪setUpFrontendSite(1, $languageConfiguration);
219  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageId)->withLanguageId(self::VALUE_LanguageIdSecond));
220  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
221  self::assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
222  ->setTable(self::TABLE_Content)->setField('header')->setValues('[Translate to Deutsch:] [Translate to Dansk:] Regular Element #3'));
223  }
224 
228  public function ‪localizeContent(): void
229  {
230  // Create translated page first
231  $this->actionService->copyRecordToLanguage(self::TABLE_Page, self::VALUE_PageId, self::VALUE_LanguageId);
232  parent::localizeContent();
233  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
234  $this->assertCSVDataSet(__DIR__ . '/DataSet/localizeContent.csv');
235 
236  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageId)->withLanguageId(self::VALUE_LanguageId));
237  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
238  self::assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
239  ->setTable(self::TABLE_Content)->setField('header')->setValues('[Translate to Dansk:] Regular Element #1', '[Translate to Dansk:] Regular Element #2'));
240  }
241 
245  public function ‪localizeContentAfterMovedContent(): void
246  {
247  parent::localizeContentAfterMovedContent();
248  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
249  $this->assertCSVDataSet(__DIR__ . '/DataSet/localizeContentAfterMovedContent.csv');
250  }
251 
256  {
257  parent::localizeContentAfterMovedInLiveContent();
258  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
259  $this->assertCSVDataSet(__DIR__ . '/DataSet/localizeContentAfterMovedInLiveContent.csv');
260  }
261 
266  {
267  // Create translated page first
268  $this->actionService->copyRecordToLanguage(self::TABLE_Page, self::VALUE_PageId, self::VALUE_LanguageIdSecond);
269  parent::localizeContentFromNonDefaultLanguage();
270  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
271  $this->assertCSVDataSet(__DIR__ . '/DataSet/localizeContentFromNonDefaultLanguage.csv');
272 
273  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageId)->withLanguageId(self::VALUE_LanguageIdSecond));
274  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
275  self::assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
276  ->setTable(self::TABLE_Content)->setField('header')->setValues('[Translate to Deutsch:] [Translate to Dansk:] Regular Element #1', '[Translate to Deutsch:] [Translate to Dansk:] Regular Element #3'));
277  }
278 
282  public function ‪changeContentSorting(): void
283  {
284  parent::changeContentSorting();
285  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
286  $this->assertCSVDataSet(__DIR__ . '/DataSet/changeContentSorting.csv');
287 
288  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageId));
289  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
290  self::assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
291  ->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #1', 'Regular Element #2'));
292  }
293 
297  public function ‪changeContentSortingAfterSelf(): void
298  {
299  parent::changeContentSortingAfterSelf();
300  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
301  $this->assertCSVDataSet(__DIR__ . '/DataSet/changeContentSortingAfterSelf.csv');
302 
303  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageId));
304  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
305  self::assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
306  ->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #1', 'Regular Element #2'));
307  }
308 
312  public function ‪moveContentToDifferentPage(): void
313  {
314  parent::moveContentToDifferentPage();
315  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
316  $this->assertCSVDataSet(__DIR__ . '/DataSet/moveContentToDifferentPage.csv');
317 
318  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageId));
319  $responseSectionsSource = ResponseContent::fromString((string)$response->getBody())->getSections();
320  self::assertThat($responseSectionsSource, $this->‪getRequestSectionHasRecordConstraint()
321  ->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #1'));
322  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageIdTarget));
323  $responseSectionsTarget = ResponseContent::fromString((string)$response->getBody())->getSections();
324  self::assertThat($responseSectionsTarget, $this->‪getRequestSectionHasRecordConstraint()
325  ->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #2'));
326  }
327 
332  {
333  parent::moveContentToDifferentPageAndChangeSorting();
334  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
335  $this->assertCSVDataSet(__DIR__ . '/DataSet/moveContentToDifferentPageNChangeSorting.csv');
336 
337  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageIdTarget));
338  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
339  self::assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
340  ->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #1', 'Regular Element #2'));
341  }
342 
346  public function ‪moveContentToDifferentPageAndHide(): void
347  {
348  parent::moveContentToDifferentPageAndHide();
349  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
350  $this->assertCSVDataSet(__DIR__ . '/DataSet/moveContentToDifferentPageAndHide.csv');
351 
352  $response = $this->executeFrontendSubRequest(
353  (new InternalRequest())->withPageId(self::VALUE_PageIdTarget),
354  (new InternalRequestContext())->withBackendUserId(self::VALUE_BackendUserId)->withWorkspaceId(self::VALUE_WorkspaceId)
355  );
356  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
357  self::assertThat($responseSections, $this->‪getRequestSectionDoesNotHaveRecordConstraint()
358  ->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #2'));
359  }
360 
365  {
366  parent::moveLocalizedContentToDifferentPage();
367  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
368  $this->assertCSVDataSet(__DIR__ . '/DataSet/moveLocalizedContentToDifferentPage.csv');
369 
370  // Check if the regular LIVE page does NOT contain the moved record anymore
371  $response = $this->executeFrontendSubRequest(
372  (new InternalRequest())->withPageId(self::VALUE_PageId),
373  );
374  $responseSectionsSource = ResponseContent::fromString((string)$response->getBody())->getSections();
375  self::assertThat($responseSectionsSource, $this->‪getRequestSectionDoesNotHaveRecordConstraint()
376  ->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #3'));
377 
378  // Check the regular LIVE translated page does NOT contain the moved record anymore
379  $response = $this->executeFrontendSubRequest(
380  (new InternalRequest())->withPageId(self::VALUE_PageId)->withLanguageId(self::VALUE_LanguageId),
381  );
382  $responseSectionsSource = ResponseContent::fromString((string)$response->getBody())->getSections();
383  self::assertThat($responseSectionsSource, $this->‪getRequestSectionDoesNotHaveRecordConstraint()
384  ->setTable(self::TABLE_Content)->setField('header')->setValues('[Translate to Dansk:] Regular Element #3'));
385 
386  // Check if the target LIVE page DOES contain the moved record
387  $response = $this->executeFrontendSubRequest(
388  (new InternalRequest())->withPageId(self::VALUE_PageIdTarget)
389  );
390  $responseSectionsTarget = ResponseContent::fromString((string)$response->getBody())->getSections();
391  self::assertThat($responseSectionsTarget, $this->‪getRequestSectionHasRecordConstraint()
392  ->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #3'));
393 
394  // Also test the translated LIVE page, and make sure the translated record is also returned
395  $response = $this->executeFrontendSubRequest(
396  (new InternalRequest())->withPageId(self::VALUE_PageIdTarget)->withLanguageId(self::VALUE_LanguageId)
397  );
398  $responseSectionsTarget = ResponseContent::fromString((string)$response->getBody())->getSections();
399  self::assertThat($responseSectionsTarget, $this->‪getRequestSectionHasRecordConstraint()
400  ->setTable(self::TABLE_Content)->setField('header')->setValues('[Translate to Dansk:] Regular Element #3'));
401  }
402 
410  public function ‪createPage(): void
411  {
412  parent::createPage();
413  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
414  $this->assertCSVDataSet(__DIR__ . '/DataSet/createPage.csv');
415 
416  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId($this->recordIds['newPageId']));
417  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
418  self::assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
419  ->setTable(self::TABLE_Page)->setField('title')->setValues('Testing #1'));
420  }
421 
426  {
427  parent::createPageAndSubPageAndSubPageContent();
428  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
429  $this->assertCSVDataSet(__DIR__ . '/DataSet/createPageAndSubPageAndSubPageContent.csv');
430 
431  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId($this->recordIds['newSubPageId']));
432  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
433  self::assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
434  ->setTable(self::TABLE_Page)->setField('title')->setValues('Testing #1 #1'));
435  }
436 
440  public function ‪modifyPage(): void
441  {
442  parent::modifyPage();
443  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
444  $this->assertCSVDataSet(__DIR__ . '/DataSet/modifyPage.csv');
445 
446  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageId));
447  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
448  self::assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
449  ->setTable(self::TABLE_Page)->setField('title')->setValues('Testing #1'));
450  }
451 
455  public function ‪deletePage(): void
456  {
457  parent::deletePage();
458  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
459  $this->assertCSVDataSet(__DIR__ . '/DataSet/deletePage.csv');
460 
461  $response = $this->executeFrontendSubRequest(
462  (new InternalRequest())->withPageId(self::VALUE_PageId)
463  );
464  self::assertEquals(404, $response->getStatusCode());
465  }
466 
470  public function ‪deleteContentAndPage(): void
471  {
472  parent::deleteContentAndPage();
473  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
474  $this->assertCSVDataSet(__DIR__ . '/DataSet/deleteContentAndPage.csv');
475 
476  $response = $this->executeFrontendSubRequest(
477  (new InternalRequest())->withPageId(self::VALUE_PageId)
478  );
479  self::assertEquals(404, $response->getStatusCode());
480  }
481 
486  {
487  // Create localized page and localize content elements first
488  parent::localizePageAndContentsAndDeletePageLocalization();
489  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
490  $this->assertCSVDataSet(__DIR__ . '/DataSet/localizePageAndContentsAndDeletePageLocalization.csv');
491 
492  $response = $this->executeFrontendSubRequest(
493  (new InternalRequest())->withPageId($this->recordIds['localizedPageId']),
494  (new InternalRequestContext())->withBackendUserId(self::VALUE_BackendUserId)->withWorkspaceId(self::VALUE_WorkspaceId)
495  );
496  self::assertEquals(404, $response->getStatusCode());
497  }
498 
502  public function ‪localizeNestedPagesAndContents(): void
503  {
504  parent::localizeNestedPagesAndContents();
505  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
506  $this->assertCSVDataSet(__DIR__ . '/DataSet/localizeNestedPagesAndContents.csv');
507  }
508 
512  public function ‪copyPage(): void
513  {
514  parent::copyPage();
515  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
516  $this->assertCSVDataSet(__DIR__ . '/DataSet/copyPage.csv');
517 
518  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId($this->recordIds['newPageId']));
519  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
520  self::assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
521  ->setTable(self::TABLE_Page)->setField('title')->setValues('Relations'));
522  }
523 
527  public function ‪copyPageFreeMode(): void
528  {
529  parent::copyPageFreeMode();
530  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
531  $this->assertCSVDataSet(__DIR__ . '/DataSet/copyPageFreeMode.csv');
532 
533  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId($this->recordIds['newPageId']));
534  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
535  self::assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
536  ->setTable(self::TABLE_Page)->setField('title')->setValues('Target'));
537  self::assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
538  ->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #10'));
539  }
540 
544  public function ‪localizePage(): void
545  {
546  parent::localizePage();
547  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
548  $this->assertCSVDataSet(__DIR__ . '/DataSet/localizePage.csv');
549 
550  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageId)->withLanguageId(self::VALUE_LanguageId));
551  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
552  self::assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
553  ->setTable(self::TABLE_Page)->setField('title')->setValues('[Translate to Dansk:] Relations'));
554  }
555 
559  public function ‪localizePageHiddenHideAtCopyFalse(): void
560  {
561  parent::localizePageHiddenHideAtCopyFalse();
562  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
563  $this->assertCSVDataSet(__DIR__ . '/DataSet/localizePageHiddenHideAtCopyFalse.csv');
564  }
565 
570  {
571  parent::localizePageNotHiddenHideAtCopyFalse();
572  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
573  $this->assertCSVDataSet(__DIR__ . '/DataSet/localizePageNotHiddenHideAtCopyFalse.csv');
574  }
575 
580  {
581  parent::localizePageNotHiddenHideAtCopyDisableHideAtCopyUnset();
582  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
583  $this->assertCSVDataSet(__DIR__ . '/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopyUnset.csv');
584  }
585 
590  {
591  parent::localizePageHiddenHideAtCopyDisableHideAtCopyUnset();
592  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
593  $this->assertCSVDataSet(__DIR__ . '/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopyUnset.csv');
594  }
595 
600  {
601  parent::localizePageNotHiddenHideAtCopyDisableHideAtCopySetToFalse();
602  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
603  $this->assertCSVDataSet(__DIR__ . '/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopySetToFalse.csv');
604  }
605 
610  {
611  parent::localizePageHiddenHideAtCopyDisableHideAtCopySetToFalse();
612  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
613  $this->assertCSVDataSet(__DIR__ . '/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopySetToFalse.csv');
614  }
615 
620  {
621  parent::localizePageNotHiddenHideAtCopyDisableHideAtCopySetToTrue();
622  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
623  $this->assertCSVDataSet(__DIR__ . '/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopySetToTrue.csv');
624  }
625 
630  {
631  parent::localizePageHiddenHideAtCopyDisableHideAtCopySetToTrue();
632  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
633  $this->assertCSVDataSet(__DIR__ . '/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopySetToTrue.csv');
634  }
635 
641  public function ‪createPageAndChangePageSorting(): void
642  {
643  parent::createPageAndChangePageSorting();
644  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
645  $this->assertCSVDataSet(__DIR__ . '/DataSet/createPageAndChangePageSorting.csv');
646  }
647 
652  public function ‪createPageAndMoveCreatedPage(): void
653  {
654  parent::createPageAndMoveCreatedPage();
655  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
656  $this->assertCSVDataSet(__DIR__ . '/DataSet/createPageAndMoveCreatedPage.csv');
657  }
658 
662  public function ‪changePageSorting(): void
663  {
664  parent::changePageSorting();
665  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
666  $this->assertCSVDataSet(__DIR__ . '/DataSet/changePageSorting.csv');
667 
668  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageId));
669  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
670  self::assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
671  ->setTable(self::TABLE_Page)->setField('title')->setValues('Relations'));
672  self::assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
673  ->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #1', 'Regular Element #2'));
674  }
675 
679  public function ‪changePageSortingAfterSelf(): void
680  {
681  parent::changePageSortingAfterSelf();
682  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
683  $this->assertCSVDataSet(__DIR__ . '/DataSet/changePageSortingAfterSelf.csv');
684 
685  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageId));
686  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
687  self::assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
688  ->setTable(self::TABLE_Page)->setField('title')->setValues('Relations'));
689  self::assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
690  ->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #1', 'Regular Element #2'));
691  }
692 
696  public function ‪movePageToDifferentPage(): void
697  {
698  parent::movePageToDifferentPage();
699  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
700  $this->assertCSVDataSet(__DIR__ . '/DataSet/movePageToDifferentPage.csv');
701 
702  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageId));
703  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
704  self::assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
705  ->setTable(self::TABLE_Page)->setField('title')->setValues('Relations'));
706  self::assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
707  ->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #1', 'Regular Element #2'));
708  }
709 
713  public function ‪movePageToDifferentPageTwice(): void
714  {
715  parent::movePageToDifferentPageTwice();
716  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
717  $this->assertCSVDataSet(__DIR__ . '/DataSet/movePageToDifferentPageTwice.csv');
718  }
719 
724  {
725  parent::movePageLocalizedToDifferentPageTwice();
726  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
727  $this->assertCSVDataSet(__DIR__ . '/DataSet/movePageLocalizedToDifferentPageTwice.csv');
728  }
729 
734  {
735  parent::movePageLocalizedInLiveToDifferentPageTwice();
736  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
737  $this->assertCSVDataSet(__DIR__ . '/DataSet/movePageLocalizedInLiveToDifferentPageTwice.csv');
738  }
739 
744  {
745  parent::movePageLocalizedInLiveWorkspaceChangedToDifferentPageTwice();
746  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
747  $this->assertCSVDataSet(__DIR__ . '/DataSet/movePageLocalizedInLiveWorkspaceChangedToDifferentPageTwice.csv');
748  }
749 
754  {
755  parent::movePageLocalizedInLiveWorkspaceDeletedToDifferentPageTwice();
756  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
757  $this->assertCSVDataSet(__DIR__ . '/DataSet/movePageLocalizedInLiveWorkspaceDeletedToDifferentPageTwice.csv');
758  }
759 
764  {
765  parent::movePageToDifferentPageAndChangeSorting();
766  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
767  $this->assertCSVDataSet(__DIR__ . '/DataSet/movePageToDifferentPageNChangeSorting.csv');
768 
769  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageId));
770  $responseSectionsPage = ResponseContent::fromString((string)$response->getBody())->getSections();
771  self::assertThat($responseSectionsPage, $this->‪getRequestSectionHasRecordConstraint()
772  ->setTable(self::TABLE_Page)->setField('title')->setValues('Relations'));
773  self::assertThat($responseSectionsPage, $this->‪getRequestSectionHasRecordConstraint()
774  ->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #1', 'Regular Element #2'));
775  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageIdWebsite));
776  $responseSectionsWebsite = ResponseContent::fromString((string)$response->getBody())->getSections();
777  self::assertThat($responseSectionsWebsite, $this->‪getRequestSectionStructureHasRecordConstraint()
778  ->setRecordIdentifier(self::TABLE_Page . ':' . self::VALUE_PageIdWebsite)->setRecordField('__pages')
779  ->setTable(self::TABLE_Page)->setField('title')->setValues('Target', 'Relations', 'DataHandlerTest'));
780  }
781 
788  {
789  parent::movePageToDifferentPageAndCreatePageAfterMovedPage();
790  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
791  $this->assertCSVDataSet(__DIR__ . '/DataSet/movePageToDifferentPageNCreatePageAfterMovedPage.csv');
792 
793  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageIdWebsite));
794  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
795  self::assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
796  ->setRecordIdentifier(self::TABLE_Page . ':' . self::VALUE_PageIdWebsite)->setRecordField('__pages')
797  ->setTable(self::TABLE_Page)->setField('title')->setValues('Target', 'Testing #1', 'DataHandlerTest'));
798  }
799 
803  public function ‪createContentAndCopyDraftPage(): void
804  {
805  parent::createContentAndCopyDraftPage();
806  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
807  $this->assertCSVDataSet(__DIR__ . '/DataSet/createContentAndCopyDraftPage.csv');
808 
809  $response = $this->executeFrontendSubRequest(
810  (new InternalRequest())->withPageId($this->recordIds['copiedPageId']),
811  (new InternalRequestContext())->withBackendUserId(self::VALUE_BackendUserId)->withWorkspaceId(self::VALUE_WorkspaceId)
812  );
813  $responseSectionsDraft = ResponseContent::fromString((string)$response->getBody())->getSections();
814  self::assertThat($responseSectionsDraft, $this->‪getRequestSectionHasRecordConstraint()
815  ->setTable(static::TABLE_Content)->setField('header')->setValues('Testing #1'));
816  }
817 
821  public function ‪createPageAndCopyDraftParentPage(): void
822  {
823  parent::createPageAndCopyDraftParentPage();
824  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
825  $this->assertCSVDataSet(__DIR__ . '/DataSet/createPageAndCopyDraftParentPage.csv');
826  }
827 
832  {
833  parent::createNestedPagesAndCopyDraftParentPage();
834  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
835  $this->assertCSVDataSet(__DIR__ . '/DataSet/createNestedPagesAndCopyDraftParentPage.csv');
836  }
837 
841  public function ‪createContentAndLocalize(): void
842  {
843  parent::createContentAndLocalize();
844  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
845  $this->assertCSVDataSet(__DIR__ . '/DataSet/createContentAndLocalize.csv');
846 
847  $response = $this->executeFrontendSubRequest(
848  (new InternalRequest())->withPageId(self::VALUE_PageId)->withLanguageId(self::VALUE_LanguageId),
849  (new InternalRequestContext())->withBackendUserId(self::VALUE_BackendUserId)->withWorkspaceId(self::VALUE_WorkspaceId)
850  );
851  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
852  self::assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
853  ->setTable(self::TABLE_Content)->setField('header')->setValues('[Translate to Dansk:] Testing #1'));
854  }
855 
860  {
861  parent::changeContentSortingAndCopyDraftPage();
862  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
863  $this->assertCSVDataSet(__DIR__ . '/DataSet/changeContentSortingAndCopyDraftPage.csv');
864  }
865 
870  {
871  parent::createPlaceholdersAndDeleteDraftParentPage();
872  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
873  $this->assertCSVDataSet(__DIR__ . '/DataSet/createPlaceholdersAndDeleteDraftParentPage.csv');
874  }
875 
880  {
881  parent::createPlaceholdersAndDeleteLiveParentPage();
882  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
883  $this->assertCSVDataSet(__DIR__ . '/DataSet/createPlaceholdersAndDeleteLiveParentPage.csv');
884  }
885 }
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest\deleteContent
‪deleteContent()
Definition: ActionTest.php:135
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest\movePageLocalizedInLiveWorkspaceChangedToDifferentPageTwice
‪movePageLocalizedInLiveWorkspaceChangedToDifferentPageTwice()
Definition: ActionTest.php:743
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest\copyContentToLanguage
‪copyContentToLanguage()
Definition: ActionTest.php:186
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest\deleteContentAndPage
‪deleteContentAndPage()
Definition: ActionTest.php:470
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\AbstractDataHandlerActionTestCase\setUpFrontendSite
‪setUpFrontendSite(int $pageId, array $additionalLanguages=[])
Definition: AbstractDataHandlerActionTestCase.php:127
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\AbstractDataHandlerActionTestCase\getRequestSectionHasRecordConstraint
‪HasRecordConstraint getRequestSectionHasRecordConstraint()
Definition: AbstractDataHandlerActionTestCase.php:245
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest\localizePageAndContentsAndDeletePageLocalization
‪localizePageAndContentsAndDeletePageLocalization()
Definition: ActionTest.php:485
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest\createContentAndCopyContent
‪createContentAndCopyContent()
Definition: ActionTest.php:58
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest\createContentAndCopyDraftPage
‪createContentAndCopyDraftPage()
Definition: ActionTest.php:803
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\AbstractDataHandlerActionTestCase\getRequestSectionStructureHasRecordConstraint
‪StructureHasRecordConstraint getRequestSectionStructureHasRecordConstraint()
Definition: AbstractDataHandlerActionTestCase.php:261
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest\localizePageHiddenHideAtCopyDisableHideAtCopySetToFalse
‪localizePageHiddenHideAtCopyDisableHideAtCopySetToFalse()
Definition: ActionTest.php:609
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest\createContentAndLocalize
‪createContentAndLocalize()
Definition: ActionTest.php:841
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest\copyPageFreeMode
‪copyPageFreeMode()
Definition: ActionTest.php:527
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest\movePageLocalizedInLiveToDifferentPageTwice
‪movePageLocalizedInLiveToDifferentPageTwice()
Definition: ActionTest.php:733
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase\VALUE_LanguageId
‪const VALUE_LanguageId
Definition: AbstractActionTestCase.php:42
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest\localizePage
‪localizePage()
Definition: ActionTest.php:544
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest\localizeContentAfterMovedContent
‪localizeContentAfterMovedContent()
Definition: ActionTest.php:245
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest\verifyCleanReferenceIndex
‪verifyCleanReferenceIndex()
Definition: ActionTest.php:33
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest\createPageAndChangePageSorting
‪createPageAndChangePageSorting()
Definition: ActionTest.php:641
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest\copyPage
‪copyPage()
Definition: ActionTest.php:512
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest\localizePageHiddenHideAtCopyDisableHideAtCopySetToTrue
‪localizePageHiddenHideAtCopyDisableHideAtCopySetToTrue()
Definition: ActionTest.php:629
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest\copyContentToLanguageFromNonDefaultLanguage
‪copyContentToLanguageFromNonDefaultLanguage()
Definition: ActionTest.php:207
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest\localizeContent
‪localizeContent()
Definition: ActionTest.php:228
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest\localizePageNotHiddenHideAtCopyDisableHideAtCopyUnset
‪localizePageNotHiddenHideAtCopyDisableHideAtCopyUnset()
Definition: ActionTest.php:579
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest\changeContentSorting
‪changeContentSorting()
Definition: ActionTest.php:282
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest\movePageLocalizedInLiveWorkspaceDeletedToDifferentPageTwice
‪movePageLocalizedInLiveWorkspaceDeletedToDifferentPageTwice()
Definition: ActionTest.php:753
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase\VALUE_LanguageIdSecond
‪const VALUE_LanguageIdSecond
Definition: AbstractActionTestCase.php:43
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest\localizeNestedPagesAndContents
‪localizeNestedPagesAndContents()
Definition: ActionTest.php:502
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest\localizePageHiddenHideAtCopyDisableHideAtCopyUnset
‪localizePageHiddenHideAtCopyDisableHideAtCopyUnset()
Definition: ActionTest.php:589
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest\createContents
‪createContents()
Definition: ActionTest.php:43
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest\createPlaceholdersAndDeleteLiveParentPage
‪createPlaceholdersAndDeleteLiveParentPage()
Definition: ActionTest.php:879
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest\copyContent
‪copyContent()
Definition: ActionTest.php:171
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest\createNestedPagesAndCopyDraftParentPage
‪createNestedPagesAndCopyDraftParentPage()
Definition: ActionTest.php:831
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest\movePageToDifferentPageTwice
‪movePageToDifferentPageTwice()
Definition: ActionTest.php:713
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest\localizeContentAfterMovedInLiveContent
‪localizeContentAfterMovedInLiveContent()
Definition: ActionTest.php:255
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest
Definition: ActionTest.php:29
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest\createPage
‪createPage()
Definition: ActionTest.php:410
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest\localizePageNotHiddenHideAtCopyDisableHideAtCopySetToTrue
‪localizePageNotHiddenHideAtCopyDisableHideAtCopySetToTrue()
Definition: ActionTest.php:619
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest\deletePage
‪deletePage()
Definition: ActionTest.php:455
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest\movePageToDifferentPage
‪movePageToDifferentPage()
Definition: ActionTest.php:696
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll
Definition: ActionTest.php:18
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest\hideContent
‪hideContent()
Definition: ActionTest.php:89
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\AbstractDataHandlerActionTestCase\getRequestSectionDoesNotHaveRecordConstraint
‪DoesNotHaveRecordConstraint getRequestSectionDoesNotHaveRecordConstraint()
Definition: AbstractDataHandlerActionTestCase.php:253
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest\localizePageHiddenHideAtCopyFalse
‪localizePageHiddenHideAtCopyFalse()
Definition: ActionTest.php:559
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest\moveContentToDifferentPageAndHide
‪moveContentToDifferentPageAndHide()
Definition: ActionTest.php:346
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest\localizePageNotHiddenHideAtCopyDisableHideAtCopySetToFalse
‪localizePageNotHiddenHideAtCopyDisableHideAtCopySetToFalse()
Definition: ActionTest.php:599
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest\changePageSortingAfterSelf
‪changePageSortingAfterSelf()
Definition: ActionTest.php:679
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest\hideContentAndMoveToDifferentPage
‪hideContentAndMoveToDifferentPage()
Definition: ActionTest.php:107
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest\deleteLocalizedContentAndDeleteContent
‪deleteLocalizedContentAndDeleteContent()
Definition: ActionTest.php:152
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest\moveLocalizedContentToDifferentPage
‪moveLocalizedContentToDifferentPage()
Definition: ActionTest.php:364
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest\movePageToDifferentPageAndChangeSorting
‪movePageToDifferentPageAndChangeSorting()
Definition: ActionTest.php:763
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest\createPageAndMoveCreatedPage
‪createPageAndMoveCreatedPage()
Definition: ActionTest.php:652
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest\changeContentSortingAfterSelf
‪changeContentSortingAfterSelf()
Definition: ActionTest.php:297
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\AbstractDataHandlerActionTestCase\$siteLanguageConfiguration
‪array $siteLanguageConfiguration
Definition: AbstractDataHandlerActionTestCase.php:72
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest\changePageSorting
‪changePageSorting()
Definition: ActionTest.php:662
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest\modifyPage
‪modifyPage()
Definition: ActionTest.php:440
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest\createPageAndCopyDraftParentPage
‪createPageAndCopyDraftParentPage()
Definition: ActionTest.php:821
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest\localizeContentFromNonDefaultLanguage
‪localizeContentFromNonDefaultLanguage()
Definition: ActionTest.php:265
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest\modifyContent
‪modifyContent()
Definition: ActionTest.php:74
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest\moveContentToDifferentPageAndChangeSorting
‪moveContentToDifferentPageAndChangeSorting()
Definition: ActionTest.php:331
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest\moveContentToDifferentPage
‪moveContentToDifferentPage()
Definition: ActionTest.php:312
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest\movePageToDifferentPageAndCreatePageAfterMovedPage
‪movePageToDifferentPageAndCreatePageAfterMovedPage()
Definition: ActionTest.php:787
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest\changeContentSortingAndCopyDraftPage
‪changeContentSortingAndCopyDraftPage()
Definition: ActionTest.php:859
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest\movePageLocalizedToDifferentPageTwice
‪movePageLocalizedToDifferentPageTwice()
Definition: ActionTest.php:723
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest\createPlaceholdersAndDeleteDraftParentPage
‪createPlaceholdersAndDeleteDraftParentPage()
Definition: ActionTest.php:869
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest\localizePageNotHiddenHideAtCopyFalse
‪localizePageNotHiddenHideAtCopyFalse()
Definition: ActionTest.php:569
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\AbstractActionTestCase
Definition: AbstractActionTestCase.php:24
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\Regular\PublishAll\ActionTest\createPageAndSubPageAndSubPageContent
‪createPageAndSubPageAndSubPageContent()
Definition: ActionTest.php:425