‪TYPO3CMS  ‪main
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 
20 use PHPUnit\Framework\Attributes\Test;
22 use TYPO3\TestingFramework\Core\Functional\Framework\Constraint\RequestSection\DoesNotHaveRecordConstraint;
23 use TYPO3\TestingFramework\Core\Functional\Framework\Constraint\RequestSection\HasRecordConstraint;
24 use TYPO3\TestingFramework\Core\Functional\Framework\Constraint\RequestSection\StructureHasRecordConstraint;
25 use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest;
26 use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequestContext;
27 use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\ResponseContent;
28 
30 {
31  #[Test]
32  public function ‪verifyCleanReferenceIndex(): void
33  {
34  // The test verifies the imported data set has a clean reference index by the check in tearDown()
35  self::assertTrue(true);
36  }
37 
38  #[Test]
39  public function ‪createContents(): void
40  {
41  parent::createContents();
42  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
43  $this->assertCSVDataSet(__DIR__ . '/DataSet/createContents.csv');
44 
45  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageId));
46  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
47  self::assertThat($responseSections, (new HasRecordConstraint())
48  ->setTable(self::TABLE_Content)->setField('header')->setValues('Testing #1', 'Testing #2'));
49  }
50 
51  #[Test]
52  public function ‪createContentAndCopyContent(): void
53  {
54  parent::createContentAndCopyContent();
55  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
56  $this->assertCSVDataSet(__DIR__ . '/DataSet/createContentAndCopyContent.csv');
57 
58  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageId));
59  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
60  self::assertThat($responseSections, (new HasRecordConstraint())
61  ->setTable(self::TABLE_Content)->setField('header')->setValues('Testing #1', 'Testing #1 (copy 1)'));
62  }
63 
64  #[Test]
65  public function ‪modifyContent(): void
66  {
67  parent::modifyContent();
68  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
69  $this->assertCSVDataSet(__DIR__ . '/DataSet/modifyContent.csv');
70 
71  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageId));
72  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
73  self::assertThat($responseSections, (new HasRecordConstraint())
74  ->setTable(self::TABLE_Content)->setField('header')->setValues('Testing #1'));
75  }
76 
77  #[Test]
78  public function ‪hideContent(): void
79  {
80  parent::hideContent();
81  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
82  $this->assertCSVDataSet(__DIR__ . '/DataSet/hideContent.csv');
83 
84  $response = $this->executeFrontendSubRequest(
85  (new InternalRequest())->withPageId(self::VALUE_PageId),
86  (new InternalRequestContext())->withBackendUserId(self::VALUE_BackendUserId)
87  );
88  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
89  self::assertThat($responseSections, (new HasRecordConstraint())
90  ->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #2'));
91  }
92 
93  #[Test]
94  public function ‪hideContentAndMoveToDifferentPage(): void
95  {
96  parent::hideContent();
97  parent::moveContentToDifferentPage();
98  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
99  $this->assertCSVDataSet(__DIR__ . '/DataSet/hideContentAndMoveToDifferentPage.csv');
100 
101  $response = $this->executeFrontendSubRequest(
102  (new InternalRequest())->withPageId(self::VALUE_PageId),
103  (new InternalRequestContext())->withBackendUserId(self::VALUE_BackendUserId)
104  );
105  $responseSectionsSource = ResponseContent::fromString((string)$response->getBody())->getSections();
106  self::assertThat($responseSectionsSource, (new HasRecordConstraint())
107  ->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #1'));
108  self::assertThat($responseSectionsSource, (new DoesNotHaveRecordConstraint())
109  ->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #2'));
110  $response = $this->executeFrontendSubRequest(
111  (new InternalRequest())->withPageId(self::VALUE_PageIdTarget),
112  (new InternalRequestContext())->withBackendUserId(self::VALUE_BackendUserId)
113  );
114  $responseSectionsTarget = ResponseContent::fromString((string)$response->getBody())->getSections();
115  self::assertThat($responseSectionsTarget, (new HasRecordConstraint())
116  ->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #2'));
117  }
118 
119  #[Test]
120  public function ‪deleteContent(): void
121  {
122  parent::deleteContent();
123  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
124  $this->assertCSVDataSet(__DIR__ . '/DataSet/deleteContent.csv');
125 
126  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageId));
127  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
128  self::assertThat($responseSections, (new HasRecordConstraint())
129  ->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #1'));
130  self::assertThat($responseSections, (new DoesNotHaveRecordConstraint())
131  ->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #2'));
132  }
133 
134  #[Test]
136  {
137  // Create translated page first
138  $this->actionService->copyRecordToLanguage(self::TABLE_Page, self::VALUE_PageId, self::VALUE_LanguageId);
139  parent::deleteLocalizedContentAndDeleteContent();
140  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
141  $this->assertCSVDataSet(__DIR__ . '/DataSet/deleteLocalizedContentNDeleteContent.csv');
142 
143  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageId)->withLanguageId(self::VALUE_LanguageId));
144  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
145  self::assertThat($responseSections, (new DoesNotHaveRecordConstraint())
146  ->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #3', '[Translate to Dansk:] Regular Element #3', 'Regular Element #1'));
147  self::assertThat($responseSections, (new HasRecordConstraint())
148  ->setTable(self::TABLE_Content)->setField('header')->setValues('[Translate to Dansk:] Regular Element #1', 'Regular Element #2'));
149  }
150 
151  #[Test]
152  public function ‪copyContent(): void
153  {
154  parent::copyContent();
155  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
156  $this->assertCSVDataSet(__DIR__ . '/DataSet/copyContent.csv');
157 
158  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageId));
159  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
160  self::assertThat($responseSections, (new HasRecordConstraint())
161  ->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #2 (copy 1)'));
162  }
163 
164  #[Test]
165  public function ‪copyContentToLanguage(): void
166  {
167  // Create translated page first
168  $this->actionService->copyRecordToLanguage(self::TABLE_Page, self::VALUE_PageId, self::VALUE_LanguageId);
169  parent::copyContentToLanguage();
170  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
171  $this->assertCSVDataSet(__DIR__ . '/DataSet/copyContentToLanguage.csv');
172 
173  // Set up "danish" to not have overlays - "free" mode
175  'test',
176  $this->‪buildSiteConfiguration(1, '/'),
177  [
178  $this->‪buildDefaultLanguageConfiguration('EN', '/'),
179  $this->‪buildLanguageConfiguration('DA', '/da/', [], 'free'),
180  $this->‪buildLanguageConfiguration('DE', '/de/', ['DA', 'EN']),
181  ]
182  );
183 
184  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageId)->withLanguageId(self::VALUE_LanguageId));
185  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
186  self::assertThat($responseSections, (new HasRecordConstraint())
187  ->setTable(self::TABLE_Content)->setField('header')->setValues('[Translate to Dansk:] Regular Element #3', '[Translate to Dansk:] Regular Element #2'));
188  }
189 
190  #[Test]
192  {
193  // Create translated page first
194  $this->actionService->copyRecordToLanguage(self::TABLE_Page, self::VALUE_PageId, self::VALUE_LanguageIdSecond);
195  parent::copyContentToLanguageFromNonDefaultLanguage();
196  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
197  $this->assertCSVDataSet(__DIR__ . '/DataSet/copyContentToLanguageFromNonDefaultLanguage.csv');
198 
199  // Set up "german" to not have overlays - "free" mode
201  'test',
202  $this->‪buildSiteConfiguration(1, '/'),
203  [
204  $this->‪buildDefaultLanguageConfiguration('EN', '/'),
205  $this->‪buildLanguageConfiguration('DA', '/da/', ['EN']),
206  $this->‪buildLanguageConfiguration('DE', '/de/', [], 'free'),
207  ]
208  );
209 
210  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageId)->withLanguageId(self::VALUE_LanguageIdSecond));
211  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
212  self::assertThat($responseSections, (new HasRecordConstraint())
213  ->setTable(self::TABLE_Content)->setField('header')->setValues('[Translate to Deutsch:] [Translate to Dansk:] Regular Element #3'));
214  }
215 
216  #[Test]
217  public function ‪localizeContent(): void
218  {
219  // Create translated page first
220  $this->actionService->copyRecordToLanguage(self::TABLE_Page, self::VALUE_PageId, self::VALUE_LanguageId);
221  parent::localizeContent();
222  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
223  $this->assertCSVDataSet(__DIR__ . '/DataSet/localizeContent.csv');
224 
225  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageId)->withLanguageId(self::VALUE_LanguageId));
226  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
227  self::assertThat($responseSections, (new HasRecordConstraint())
228  ->setTable(self::TABLE_Content)->setField('header')->setValues('[Translate to Dansk:] Regular Element #1', '[Translate to Dansk:] Regular Element #2'));
229  }
230 
231  #[Test]
232  public function ‪localizeContentAfterMovedContent(): void
233  {
234  parent::localizeContentAfterMovedContent();
235  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
236  $this->assertCSVDataSet(__DIR__ . '/DataSet/localizeContentAfterMovedContent.csv');
237  }
238 
239  #[Test]
241  {
242  parent::localizeContentAfterMovedInLiveContent();
243  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
244  $this->assertCSVDataSet(__DIR__ . '/DataSet/localizeContentAfterMovedInLiveContent.csv');
245  }
246 
247  #[Test]
249  {
250  // Create translated page first
251  $this->actionService->copyRecordToLanguage(self::TABLE_Page, self::VALUE_PageId, self::VALUE_LanguageIdSecond);
252  parent::localizeContentFromNonDefaultLanguage();
253  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
254  $this->assertCSVDataSet(__DIR__ . '/DataSet/localizeContentFromNonDefaultLanguage.csv');
255 
256  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageId)->withLanguageId(self::VALUE_LanguageIdSecond));
257  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
258  self::assertThat($responseSections, (new HasRecordConstraint())
259  ->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'));
260  }
261 
262  #[Test]
263  public function ‪changeContentSorting(): void
264  {
265  parent::changeContentSorting();
266  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
267  $this->assertCSVDataSet(__DIR__ . '/DataSet/changeContentSorting.csv');
268 
269  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageId));
270  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
271  self::assertThat($responseSections, (new HasRecordConstraint())
272  ->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #1', 'Regular Element #2'));
273  }
274 
275  #[Test]
276  public function ‪changeContentSortingAfterSelf(): void
277  {
278  parent::changeContentSortingAfterSelf();
279  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
280  $this->assertCSVDataSet(__DIR__ . '/DataSet/changeContentSortingAfterSelf.csv');
281 
282  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageId));
283  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
284  self::assertThat($responseSections, (new HasRecordConstraint())
285  ->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #1', 'Regular Element #2'));
286  }
287 
288  #[Test]
289  public function ‪moveContentToDifferentPage(): void
290  {
291  parent::moveContentToDifferentPage();
292  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
293  $this->assertCSVDataSet(__DIR__ . '/DataSet/moveContentToDifferentPage.csv');
294 
295  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageId));
296  $responseSectionsSource = ResponseContent::fromString((string)$response->getBody())->getSections();
297  self::assertThat($responseSectionsSource, (new HasRecordConstraint())
298  ->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #1'));
299  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageIdTarget));
300  $responseSectionsTarget = ResponseContent::fromString((string)$response->getBody())->getSections();
301  self::assertThat($responseSectionsTarget, (new HasRecordConstraint())
302  ->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #2'));
303  }
304 
305  #[Test]
307  {
308  parent::moveContentToDifferentPageAndChangeSorting();
309  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
310  $this->assertCSVDataSet(__DIR__ . '/DataSet/moveContentToDifferentPageNChangeSorting.csv');
311 
312  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageIdTarget));
313  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
314  self::assertThat($responseSections, (new HasRecordConstraint())
315  ->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #1', 'Regular Element #2'));
316  }
317 
318  #[Test]
319  public function ‪moveContentToDifferentPageAndHide(): void
320  {
321  parent::moveContentToDifferentPageAndHide();
322  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
323  $this->assertCSVDataSet(__DIR__ . '/DataSet/moveContentToDifferentPageAndHide.csv');
324 
325  $response = $this->executeFrontendSubRequest(
326  (new InternalRequest())->withPageId(self::VALUE_PageIdTarget),
327  (new InternalRequestContext())->withBackendUserId(self::VALUE_BackendUserId)->withWorkspaceId(self::VALUE_WorkspaceId)
328  );
329  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
330  self::assertThat($responseSections, (new DoesNotHaveRecordConstraint())
331  ->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #2'));
332  }
333 
334  #[Test]
336  {
337  parent::moveLocalizedContentToDifferentPage();
338  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
339  $this->assertCSVDataSet(__DIR__ . '/DataSet/moveLocalizedContentToDifferentPage.csv');
340 
341  // Check if the regular LIVE page does NOT contain the moved record anymore
342  $response = $this->executeFrontendSubRequest(
343  (new InternalRequest())->withPageId(self::VALUE_PageId),
344  );
345  $responseSectionsSource = ResponseContent::fromString((string)$response->getBody())->getSections();
346  self::assertThat($responseSectionsSource, (new DoesNotHaveRecordConstraint())
347  ->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #3'));
348 
349  // Check the regular LIVE translated page does NOT contain the moved record anymore
350  $response = $this->executeFrontendSubRequest(
351  (new InternalRequest())->withPageId(self::VALUE_PageId)->withLanguageId(self::VALUE_LanguageId),
352  );
353  $responseSectionsSource = ResponseContent::fromString((string)$response->getBody())->getSections();
354  self::assertThat($responseSectionsSource, (new DoesNotHaveRecordConstraint())
355  ->setTable(self::TABLE_Content)->setField('header')->setValues('[Translate to Dansk:] Regular Element #3'));
356 
357  // Check if the target LIVE page DOES contain the moved record
358  $response = $this->executeFrontendSubRequest(
359  (new InternalRequest())->withPageId(self::VALUE_PageIdTarget)
360  );
361  $responseSectionsTarget = ResponseContent::fromString((string)$response->getBody())->getSections();
362  self::assertThat($responseSectionsTarget, (new HasRecordConstraint())
363  ->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #3'));
364 
365  // Also test the translated LIVE page, and make sure the translated record is also returned
366  $response = $this->executeFrontendSubRequest(
367  (new InternalRequest())->withPageId(self::VALUE_PageIdTarget)->withLanguageId(self::VALUE_LanguageId)
368  );
369  $responseSectionsTarget = ResponseContent::fromString((string)$response->getBody())->getSections();
370  self::assertThat($responseSectionsTarget, (new HasRecordConstraint())
371  ->setTable(self::TABLE_Content)->setField('header')->setValues('[Translate to Dansk:] Regular Element #3'));
372  }
373 
374  #[Test]
375  public function ‪createPage(): void
376  {
377  parent::createPage();
378  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
379  $this->assertCSVDataSet(__DIR__ . '/DataSet/createPage.csv');
380 
381  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId($this->recordIds['newPageId']));
382  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
383  self::assertThat($responseSections, (new HasRecordConstraint())
384  ->setTable(self::TABLE_Page)->setField('title')->setValues('Testing #1'));
385  }
386 
387  #[Test]
389  {
390  parent::createPageAndSubPageAndSubPageContent();
391  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
392  $this->assertCSVDataSet(__DIR__ . '/DataSet/createPageAndSubPageAndSubPageContent.csv');
393 
394  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId($this->recordIds['newSubPageId']));
395  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
396  self::assertThat($responseSections, (new HasRecordConstraint())
397  ->setTable(self::TABLE_Page)->setField('title')->setValues('Testing #1 #1'));
398  }
399 
400  #[Test]
401  public function ‪modifyPage(): void
402  {
403  parent::modifyPage();
404  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
405  $this->assertCSVDataSet(__DIR__ . '/DataSet/modifyPage.csv');
406 
407  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageId));
408  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
409  self::assertThat($responseSections, (new HasRecordConstraint())
410  ->setTable(self::TABLE_Page)->setField('title')->setValues('Testing #1'));
411  }
412 
413  #[Test]
414  public function ‪deletePage(): void
415  {
416  parent::deletePage();
417  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
418  $this->assertCSVDataSet(__DIR__ . '/DataSet/deletePage.csv');
419 
420  $response = $this->executeFrontendSubRequest(
421  (new InternalRequest())->withPageId(self::VALUE_PageId)
422  );
423  self::assertEquals(404, $response->getStatusCode());
424  }
425 
426  #[Test]
427  public function ‪deleteContentAndPage(): void
428  {
429  parent::deleteContentAndPage();
430  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
431  $this->assertCSVDataSet(__DIR__ . '/DataSet/deleteContentAndPage.csv');
432 
433  $response = $this->executeFrontendSubRequest(
434  (new InternalRequest())->withPageId(self::VALUE_PageId)
435  );
436  self::assertEquals(404, $response->getStatusCode());
437  }
438 
439  #[Test]
441  {
442  // Create localized page and localize content elements first
443  parent::localizePageAndContentsAndDeletePageLocalization();
444  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
445  $this->assertCSVDataSet(__DIR__ . '/DataSet/localizePageAndContentsAndDeletePageLocalization.csv');
446 
447  $response = $this->executeFrontendSubRequest(
448  (new InternalRequest())->withPageId($this->recordIds['localizedPageId']),
449  (new InternalRequestContext())->withBackendUserId(self::VALUE_BackendUserId)->withWorkspaceId(self::VALUE_WorkspaceId)
450  );
451  self::assertEquals(404, $response->getStatusCode());
452  }
453 
454  #[Test]
455  public function ‪localizeNestedPagesAndContents(): void
456  {
457  parent::localizeNestedPagesAndContents();
458  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
459  $this->assertCSVDataSet(__DIR__ . '/DataSet/localizeNestedPagesAndContents.csv');
460  }
461 
462  #[Test]
463  public function ‪copyPage(): void
464  {
465  parent::copyPage();
466  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
467  $this->assertCSVDataSet(__DIR__ . '/DataSet/copyPage.csv');
468 
469  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId($this->recordIds['newPageId']));
470  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
471  self::assertThat($responseSections, (new HasRecordConstraint())
472  ->setTable(self::TABLE_Page)->setField('title')->setValues('Relations'));
473  }
474 
475  #[Test]
476  public function ‪copyPageFreeMode(): void
477  {
478  parent::copyPageFreeMode();
479  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
480  $this->assertCSVDataSet(__DIR__ . '/DataSet/copyPageFreeMode.csv');
481 
482  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId($this->recordIds['newPageId']));
483  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
484  self::assertThat($responseSections, (new HasRecordConstraint())
485  ->setTable(self::TABLE_Page)->setField('title')->setValues('Target'));
486  self::assertThat($responseSections, (new HasRecordConstraint())
487  ->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #10'));
488  }
489 
490  #[Test]
491  public function ‪localizePage(): void
492  {
493  parent::localizePage();
494  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
495  $this->assertCSVDataSet(__DIR__ . '/DataSet/localizePage.csv');
496 
497  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageId)->withLanguageId(self::VALUE_LanguageId));
498  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
499  self::assertThat($responseSections, (new HasRecordConstraint())
500  ->setTable(self::TABLE_Page)->setField('title')->setValues('[Translate to Dansk:] Relations'));
501  }
502 
503  #[Test]
504  public function ‪localizePageHiddenHideAtCopyFalse(): void
505  {
506  parent::localizePageHiddenHideAtCopyFalse();
507  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
508  $this->assertCSVDataSet(__DIR__ . '/DataSet/localizePageHiddenHideAtCopyFalse.csv');
509  }
510 
511  #[Test]
513  {
514  parent::localizePageNotHiddenHideAtCopyFalse();
515  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
516  $this->assertCSVDataSet(__DIR__ . '/DataSet/localizePageNotHiddenHideAtCopyFalse.csv');
517  }
518 
519  #[Test]
521  {
522  parent::localizePageNotHiddenHideAtCopyDisableHideAtCopyUnset();
523  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
524  $this->assertCSVDataSet(__DIR__ . '/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopyUnset.csv');
525  }
526 
527  #[Test]
529  {
530  parent::localizePageHiddenHideAtCopyDisableHideAtCopyUnset();
531  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
532  $this->assertCSVDataSet(__DIR__ . '/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopyUnset.csv');
533  }
534 
535  #[Test]
537  {
538  parent::localizePageNotHiddenHideAtCopyDisableHideAtCopySetToFalse();
539  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
540  $this->assertCSVDataSet(__DIR__ . '/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopySetToFalse.csv');
541  }
542 
543  #[Test]
545  {
546  parent::localizePageHiddenHideAtCopyDisableHideAtCopySetToFalse();
547  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
548  $this->assertCSVDataSet(__DIR__ . '/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopySetToFalse.csv');
549  }
550 
551  #[Test]
553  {
554  parent::localizePageNotHiddenHideAtCopyDisableHideAtCopySetToTrue();
555  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
556  $this->assertCSVDataSet(__DIR__ . '/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopySetToTrue.csv');
557  }
558 
559  #[Test]
561  {
562  parent::localizePageHiddenHideAtCopyDisableHideAtCopySetToTrue();
563  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
564  $this->assertCSVDataSet(__DIR__ . '/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopySetToTrue.csv');
565  }
566 
567  #[Test]
568  public function ‪createPageAndChangePageSorting(): void
569  {
570  parent::createPageAndChangePageSorting();
571  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
572  $this->assertCSVDataSet(__DIR__ . '/DataSet/createPageAndChangePageSorting.csv');
573  }
574 
575  #[Test]
576  public function ‪createPageAndMoveCreatedPage(): void
577  {
578  parent::createPageAndMoveCreatedPage();
579  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
580  $this->assertCSVDataSet(__DIR__ . '/DataSet/createPageAndMoveCreatedPage.csv');
581  }
582 
583  #[Test]
584  public function ‪changePageSorting(): void
585  {
586  parent::changePageSorting();
587  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
588  $this->assertCSVDataSet(__DIR__ . '/DataSet/changePageSorting.csv');
589 
590  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageId));
591  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
592  self::assertThat($responseSections, (new HasRecordConstraint())
593  ->setTable(self::TABLE_Page)->setField('title')->setValues('Relations'));
594  self::assertThat($responseSections, (new HasRecordConstraint())
595  ->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #1', 'Regular Element #2'));
596  }
597 
598  #[Test]
599  public function ‪changePageSortingAfterSelf(): void
600  {
601  parent::changePageSortingAfterSelf();
602  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
603  $this->assertCSVDataSet(__DIR__ . '/DataSet/changePageSortingAfterSelf.csv');
604 
605  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageId));
606  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
607  self::assertThat($responseSections, (new HasRecordConstraint())
608  ->setTable(self::TABLE_Page)->setField('title')->setValues('Relations'));
609  self::assertThat($responseSections, (new HasRecordConstraint())
610  ->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #1', 'Regular Element #2'));
611  }
612 
613  #[Test]
614  public function ‪movePageToDifferentPage(): void
615  {
616  parent::movePageToDifferentPage();
617  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
618  $this->assertCSVDataSet(__DIR__ . '/DataSet/movePageToDifferentPage.csv');
619 
620  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageId));
621  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
622  self::assertThat($responseSections, (new HasRecordConstraint())
623  ->setTable(self::TABLE_Page)->setField('title')->setValues('Relations'));
624  self::assertThat($responseSections, (new HasRecordConstraint())
625  ->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #1', 'Regular Element #2'));
626  }
627 
628  #[Test]
629  public function ‪movePageToDifferentPageTwice(): void
630  {
631  parent::movePageToDifferentPageTwice();
632  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
633  $this->assertCSVDataSet(__DIR__ . '/DataSet/movePageToDifferentPageTwice.csv');
634  }
635 
636  #[Test]
638  {
639  parent::movePageLocalizedToDifferentPageTwice();
640  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
641  $this->assertCSVDataSet(__DIR__ . '/DataSet/movePageLocalizedToDifferentPageTwice.csv');
642  }
643 
644  #[Test]
646  {
647  parent::movePageLocalizedInLiveToDifferentPageTwice();
648  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
649  $this->assertCSVDataSet(__DIR__ . '/DataSet/movePageLocalizedInLiveToDifferentPageTwice.csv');
650  }
651 
652  #[Test]
654  {
655  parent::movePageLocalizedInLiveWorkspaceChangedToDifferentPageTwice();
656  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
657  $this->assertCSVDataSet(__DIR__ . '/DataSet/movePageLocalizedInLiveWorkspaceChangedToDifferentPageTwice.csv');
658  }
659 
660  #[Test]
662  {
663  parent::movePageLocalizedInLiveWorkspaceDeletedToDifferentPageTwice();
664  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
665  $this->assertCSVDataSet(__DIR__ . '/DataSet/movePageLocalizedInLiveWorkspaceDeletedToDifferentPageTwice.csv');
666  }
667 
668  #[Test]
670  {
671  parent::movePageToDifferentPageAndChangeSorting();
672  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
673  $this->assertCSVDataSet(__DIR__ . '/DataSet/movePageToDifferentPageNChangeSorting.csv');
674 
675  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageId));
676  $responseSectionsPage = ResponseContent::fromString((string)$response->getBody())->getSections();
677  self::assertThat($responseSectionsPage, (new HasRecordConstraint())
678  ->setTable(self::TABLE_Page)->setField('title')->setValues('Relations'));
679  self::assertThat($responseSectionsPage, (new HasRecordConstraint())
680  ->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #1', 'Regular Element #2'));
681  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageIdWebsite));
682  $responseSectionsWebsite = ResponseContent::fromString((string)$response->getBody())->getSections();
683  self::assertThat($responseSectionsWebsite, (new StructureHasRecordConstraint())
684  ->setRecordIdentifier(self::TABLE_Page . ':' . self::VALUE_PageIdWebsite)->setRecordField('__pages')
685  ->setTable(self::TABLE_Page)->setField('title')->setValues('Target', 'Relations', 'DataHandlerTest'));
686  }
687 
692  #[Test]
694  {
695  parent::movePageToDifferentPageAndCreatePageAfterMovedPage();
696  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
697  $this->assertCSVDataSet(__DIR__ . '/DataSet/movePageToDifferentPageNCreatePageAfterMovedPage.csv');
698 
699  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageIdWebsite));
700  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
701  self::assertThat($responseSections, (new StructureHasRecordConstraint())
702  ->setRecordIdentifier(self::TABLE_Page . ':' . self::VALUE_PageIdWebsite)->setRecordField('__pages')
703  ->setTable(self::TABLE_Page)->setField('title')->setValues('Target', 'Testing #1', 'DataHandlerTest'));
704  }
705 
706  #[Test]
707  public function ‪createContentAndCopyDraftPage(): void
708  {
709  parent::createContentAndCopyDraftPage();
710  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
711  $this->assertCSVDataSet(__DIR__ . '/DataSet/createContentAndCopyDraftPage.csv');
712 
713  $response = $this->executeFrontendSubRequest(
714  (new InternalRequest())->withPageId($this->recordIds['copiedPageId']),
715  (new InternalRequestContext())->withBackendUserId(self::VALUE_BackendUserId)->withWorkspaceId(self::VALUE_WorkspaceId)
716  );
717  $responseSectionsDraft = ResponseContent::fromString((string)$response->getBody())->getSections();
718  self::assertThat($responseSectionsDraft, (new HasRecordConstraint())
719  ->setTable(static::TABLE_Content)->setField('header')->setValues('Testing #1'));
720  }
721 
722  #[Test]
723  public function ‪createPageAndCopyDraftParentPage(): void
724  {
725  parent::createPageAndCopyDraftParentPage();
726  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
727  $this->assertCSVDataSet(__DIR__ . '/DataSet/createPageAndCopyDraftParentPage.csv');
728  }
729 
730  #[Test]
732  {
733  parent::createNestedPagesAndCopyDraftParentPage();
734  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
735  $this->assertCSVDataSet(__DIR__ . '/DataSet/createNestedPagesAndCopyDraftParentPage.csv');
736  }
737 
738  #[Test]
739  public function ‪createContentAndLocalize(): void
740  {
741  parent::createContentAndLocalize();
742  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
743  $this->assertCSVDataSet(__DIR__ . '/DataSet/createContentAndLocalize.csv');
744 
745  $response = $this->executeFrontendSubRequest(
746  (new InternalRequest())->withPageId(self::VALUE_PageId)->withLanguageId(self::VALUE_LanguageId),
747  (new InternalRequestContext())->withBackendUserId(self::VALUE_BackendUserId)->withWorkspaceId(self::VALUE_WorkspaceId)
748  );
749  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
750  self::assertThat($responseSections, (new HasRecordConstraint())
751  ->setTable(self::TABLE_Content)->setField('header')->setValues('[Translate to Dansk:] Testing #1'));
752  }
753 
754  #[Test]
756  {
757  parent::changeContentSortingAndCopyDraftPage();
758  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
759  $this->assertCSVDataSet(__DIR__ . '/DataSet/changeContentSortingAndCopyDraftPage.csv');
760  }
761 
762  #[Test]
764  {
765  parent::createPlaceholdersAndDeleteDraftParentPage();
766  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
767  $this->assertCSVDataSet(__DIR__ . '/DataSet/createPlaceholdersAndDeleteDraftParentPage.csv');
768  }
769 
770  #[Test]
772  {
773  parent::createPlaceholdersAndDeleteLiveParentPage();
774  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
775  $this->assertCSVDataSet(__DIR__ . '/DataSet/createPlaceholdersAndDeleteLiveParentPage.csv');
776  }
777 }
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest\createContents
‪createContents()
Definition: ActionTest.php:39
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest\copyContentToLanguage
‪copyContentToLanguage()
Definition: ActionTest.php:165
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest\movePageLocalizedInLiveWorkspaceDeletedToDifferentPageTwice
‪movePageLocalizedInLiveWorkspaceDeletedToDifferentPageTwice()
Definition: ActionTest.php:661
‪TYPO3\CMS\Core\Tests\Functional\SiteHandling\SiteBasedTestTrait\buildLanguageConfiguration
‪buildLanguageConfiguration(string $identifier, string $base, array $fallbackIdentifiers=[], string $fallbackType=null)
Definition: SiteBasedTestTrait.php:108
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest\localizeContentAfterMovedContent
‪localizeContentAfterMovedContent()
Definition: ActionTest.php:232
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest\createPageAndChangePageSorting
‪createPageAndChangePageSorting()
Definition: ActionTest.php:568
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest\modifyContent
‪modifyContent()
Definition: ActionTest.php:65
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest\localizePage
‪localizePage()
Definition: ActionTest.php:491
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest\localizePageHiddenHideAtCopyDisableHideAtCopySetToTrue
‪localizePageHiddenHideAtCopyDisableHideAtCopySetToTrue()
Definition: ActionTest.php:560
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest\movePageLocalizedInLiveToDifferentPageTwice
‪movePageLocalizedInLiveToDifferentPageTwice()
Definition: ActionTest.php:645
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest\deleteContentAndPage
‪deleteContentAndPage()
Definition: ActionTest.php:427
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest\movePageToDifferentPage
‪movePageToDifferentPage()
Definition: ActionTest.php:614
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest\moveContentToDifferentPage
‪moveContentToDifferentPage()
Definition: ActionTest.php:289
‪TYPO3\CMS\Core\Tests\Functional\SiteHandling\SiteBasedTestTrait\writeSiteConfiguration
‪writeSiteConfiguration(string $identifier, array $site=[], array $languages=[], array $errorHandling=[])
Definition: SiteBasedTestTrait.php:50
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest\createPlaceholdersAndDeleteDraftParentPage
‪createPlaceholdersAndDeleteDraftParentPage()
Definition: ActionTest.php:763
‪TYPO3\CMS\Core\Tests\Functional\SiteHandling\SiteBasedTestTrait\buildSiteConfiguration
‪buildSiteConfiguration(int $rootPageId, string $base='')
Definition: SiteBasedTestTrait.php:88
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest\copyPage
‪copyPage()
Definition: ActionTest.php:463
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest\changeContentSortingAndCopyDraftPage
‪changeContentSortingAndCopyDraftPage()
Definition: ActionTest.php:755
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest\localizePageNotHiddenHideAtCopyDisableHideAtCopySetToTrue
‪localizePageNotHiddenHideAtCopyDisableHideAtCopySetToTrue()
Definition: ActionTest.php:552
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest\movePageToDifferentPageAndCreatePageAfterMovedPage
‪movePageToDifferentPageAndCreatePageAfterMovedPage()
Definition: ActionTest.php:693
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest\localizePageNotHiddenHideAtCopyDisableHideAtCopySetToFalse
‪localizePageNotHiddenHideAtCopyDisableHideAtCopySetToFalse()
Definition: ActionTest.php:536
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest\createPageAndMoveCreatedPage
‪createPageAndMoveCreatedPage()
Definition: ActionTest.php:576
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest\localizeContent
‪localizeContent()
Definition: ActionTest.php:217
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest\deleteLocalizedContentAndDeleteContent
‪deleteLocalizedContentAndDeleteContent()
Definition: ActionTest.php:135
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest\createPage
‪createPage()
Definition: ActionTest.php:375
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest\localizeNestedPagesAndContents
‪localizeNestedPagesAndContents()
Definition: ActionTest.php:455
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest\createNestedPagesAndCopyDraftParentPage
‪createNestedPagesAndCopyDraftParentPage()
Definition: ActionTest.php:731
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest\createContentAndLocalize
‪createContentAndLocalize()
Definition: ActionTest.php:739
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest\createContentAndCopyDraftPage
‪createContentAndCopyDraftPage()
Definition: ActionTest.php:707
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest\localizePageNotHiddenHideAtCopyFalse
‪localizePageNotHiddenHideAtCopyFalse()
Definition: ActionTest.php:512
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest\copyContentToLanguageFromNonDefaultLanguage
‪copyContentToLanguageFromNonDefaultLanguage()
Definition: ActionTest.php:191
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest\hideContent
‪hideContent()
Definition: ActionTest.php:78
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest\localizePageAndContentsAndDeletePageLocalization
‪localizePageAndContentsAndDeletePageLocalization()
Definition: ActionTest.php:440
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest\copyContent
‪copyContent()
Definition: ActionTest.php:152
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest\hideContentAndMoveToDifferentPage
‪hideContentAndMoveToDifferentPage()
Definition: ActionTest.php:94
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll
Definition: ActionTest.php:18
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest\deleteContent
‪deleteContent()
Definition: ActionTest.php:120
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest\moveLocalizedContentToDifferentPage
‪moveLocalizedContentToDifferentPage()
Definition: ActionTest.php:335
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest\movePageLocalizedToDifferentPageTwice
‪movePageLocalizedToDifferentPageTwice()
Definition: ActionTest.php:637
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest\localizePageHiddenHideAtCopyDisableHideAtCopyUnset
‪localizePageHiddenHideAtCopyDisableHideAtCopyUnset()
Definition: ActionTest.php:528
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest\deletePage
‪deletePage()
Definition: ActionTest.php:414
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest\moveContentToDifferentPageAndHide
‪moveContentToDifferentPageAndHide()
Definition: ActionTest.php:319
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest\localizePageHiddenHideAtCopyDisableHideAtCopySetToFalse
‪localizePageHiddenHideAtCopyDisableHideAtCopySetToFalse()
Definition: ActionTest.php:544
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest\changeContentSortingAfterSelf
‪changeContentSortingAfterSelf()
Definition: ActionTest.php:276
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest\createPageAndCopyDraftParentPage
‪createPageAndCopyDraftParentPage()
Definition: ActionTest.php:723
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest\movePageToDifferentPageTwice
‪movePageToDifferentPageTwice()
Definition: ActionTest.php:629
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest\movePageToDifferentPageAndChangeSorting
‪movePageToDifferentPageAndChangeSorting()
Definition: ActionTest.php:669
‪TYPO3\CMS\Core\Tests\Functional\SiteHandling\SiteBasedTestTrait\buildDefaultLanguageConfiguration
‪buildDefaultLanguageConfiguration(string $identifier, string $base)
Definition: SiteBasedTestTrait.php:98
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest\localizePageNotHiddenHideAtCopyDisableHideAtCopyUnset
‪localizePageNotHiddenHideAtCopyDisableHideAtCopyUnset()
Definition: ActionTest.php:520
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest\movePageLocalizedInLiveWorkspaceChangedToDifferentPageTwice
‪movePageLocalizedInLiveWorkspaceChangedToDifferentPageTwice()
Definition: ActionTest.php:653
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest\localizeContentFromNonDefaultLanguage
‪localizeContentFromNonDefaultLanguage()
Definition: ActionTest.php:248
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest\localizeContentAfterMovedInLiveContent
‪localizeContentAfterMovedInLiveContent()
Definition: ActionTest.php:240
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\AbstractActionWorkspacesTestCase
Definition: AbstractActionWorkspacesTestCase.php:21
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest\copyPageFreeMode
‪copyPageFreeMode()
Definition: ActionTest.php:476
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest\changePageSortingAfterSelf
‪changePageSortingAfterSelf()
Definition: ActionTest.php:599
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest\createPlaceholdersAndDeleteLiveParentPage
‪createPlaceholdersAndDeleteLiveParentPage()
Definition: ActionTest.php:771
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest\createContentAndCopyContent
‪createContentAndCopyContent()
Definition: ActionTest.php:52
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest\changePageSorting
‪changePageSorting()
Definition: ActionTest.php:584
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest\modifyPage
‪modifyPage()
Definition: ActionTest.php:401
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest\changeContentSorting
‪changeContentSorting()
Definition: ActionTest.php:263
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest\localizePageHiddenHideAtCopyFalse
‪localizePageHiddenHideAtCopyFalse()
Definition: ActionTest.php:504
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest\createPageAndSubPageAndSubPageContent
‪createPageAndSubPageAndSubPageContent()
Definition: ActionTest.php:388
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest
Definition: ActionTest.php:30
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest\verifyCleanReferenceIndex
‪verifyCleanReferenceIndex()
Definition: ActionTest.php:32
‪TYPO3\CMS\Core\Tests\Functional\DataScenarios\Regular\WorkspacesPublishAll\ActionTest\moveContentToDifferentPageAndChangeSorting
‪moveContentToDifferentPageAndChangeSorting()
Definition: ActionTest.php:306