‪TYPO3CMS  11.5
TYPO3\CMS\Core\Tests\Acceptance\Application\Recycler\RecyclerModuleCest Class Reference

Public Member Functions

 _before (ApplicationTester $I, PageTree $pageTree, ModalDialog $modalDialog)
 
 deleteAndRecoverRecords (ApplicationTester $I)
 

Protected Member Functions

 deleteAndWipeRecords (ApplicationTester $I)
 

Protected Attributes

PageTree $pageTree
 
ModalDialog $modalDialog
 

Static Protected Attributes

static string $rootPageTitle = 'styleguide TCA demo'
 
static string $treeNode = '#typo3-pagetree-tree .nodes .node'
 
static string $dragNode = '#typo3-pagetree-toolbar .svg-toolbar__drag-node'
 
static string $nodeEditInput = '.node-edit'
 
static string $contentTitle = 'Dummy Recycler Content'
 
static string $pageTitle = 'Dummy 1-styleguide TCA demo-new'
 

Private Member Functions

 deletePage (ApplicationTester $I)
 
 goToRecyclerModule (ApplicationTester $I)
 

Detailed Description

Definition at line 24 of file RecyclerModuleCest.php.

Member Function Documentation

◆ _before()

TYPO3\CMS\Core\Tests\Acceptance\Application\Recycler\RecyclerModuleCest::_before ( ApplicationTester  $I,
PageTree  $pageTree,
ModalDialog  $modalDialog 
)

◆ deleteAndRecoverRecords()

TYPO3\CMS\Core\Tests\Acceptance\Application\Recycler\RecyclerModuleCest::deleteAndRecoverRecords ( ApplicationTester  $I)

◆ deleteAndWipeRecords()

TYPO3\CMS\Core\Tests\Acceptance\Application\Recycler\RecyclerModuleCest::deleteAndWipeRecords ( ApplicationTester  $I)
protected
Todo:
‪: Method protected! This means the test is disabled. There are at least two tests that confuse this test if they are executed earlier:
  • PageTreeFilterCest.php:deletingPageWithFilterAppliedRespectsFilterUponPageTreeReload
  • InlineFalCest.php:deleteFalRelation The main issue is that this Cest.php works on a main page within styleguide tree which is deleted and resurrected. This breaks as soon as other tests delete something within the same tree. Suggestion: Let _before() create two pages: A main page as tree page to use as recycler main page, plus a sub page of that page that can be deleted and resurrected at will. This should limit side effects from other tests.

Definition at line 110 of file RecyclerModuleCest.php.

References TYPO3\CMS\Core\Tests\Acceptance\Application\Recycler\RecyclerModuleCest\deletePage(), and TYPO3\CMS\Core\Tests\Acceptance\Application\Recycler\RecyclerModuleCest\goToRecyclerModule().

◆ deletePage()

TYPO3\CMS\Core\Tests\Acceptance\Application\Recycler\RecyclerModuleCest::deletePage ( ApplicationTester  $I)
private

◆ goToRecyclerModule()

TYPO3\CMS\Core\Tests\Acceptance\Application\Recycler\RecyclerModuleCest::goToRecyclerModule ( ApplicationTester  $I)
private

Member Data Documentation

◆ $contentTitle

string TYPO3\CMS\Core\Tests\Acceptance\Application\Recycler\RecyclerModuleCest::$contentTitle = 'Dummy Recycler Content'
staticprotected

Definition at line 33 of file RecyclerModuleCest.php.

◆ $dragNode

string TYPO3\CMS\Core\Tests\Acceptance\Application\Recycler\RecyclerModuleCest::$dragNode = '#typo3-pagetree-toolbar .svg-toolbar__drag-node'
staticprotected

Definition at line 31 of file RecyclerModuleCest.php.

◆ $modalDialog

ModalDialog TYPO3\CMS\Core\Tests\Acceptance\Application\Recycler\RecyclerModuleCest::$modalDialog
protected

◆ $nodeEditInput

string TYPO3\CMS\Core\Tests\Acceptance\Application\Recycler\RecyclerModuleCest::$nodeEditInput = '.node-edit'
staticprotected

Definition at line 32 of file RecyclerModuleCest.php.

◆ $pageTitle

string TYPO3\CMS\Core\Tests\Acceptance\Application\Recycler\RecyclerModuleCest::$pageTitle = 'Dummy 1-styleguide TCA demo-new'
staticprotected

Definition at line 34 of file RecyclerModuleCest.php.

◆ $pageTree

PageTree TYPO3\CMS\Core\Tests\Acceptance\Application\Recycler\RecyclerModuleCest::$pageTree
protected

◆ $rootPageTitle

string TYPO3\CMS\Core\Tests\Acceptance\Application\Recycler\RecyclerModuleCest::$rootPageTitle = 'styleguide TCA demo'
staticprotected

Definition at line 29 of file RecyclerModuleCest.php.

◆ $treeNode

string TYPO3\CMS\Core\Tests\Acceptance\Application\Recycler\RecyclerModuleCest::$treeNode = '#typo3-pagetree-tree .nodes .node'
staticprotected

Definition at line 30 of file RecyclerModuleCest.php.