‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Tests\Acceptance\Application\PageTree\PageCreationWithDragAndDropCest Class Reference

Public Member Functions

 _before (ApplicationTester $I, PageTree $pageTree)
 
 dragAndDropNewPageInNodeWithoutChildren (ApplicationTester $I)
 
 dragAndDropNewPageInNodeWithChildren (ApplicationTester $I)
 
 dragAndDropNewPageAndQuitPageCreation (ApplicationTester $I, Mouse $mouse)
 
 dragAndDropNewPageAndLeavePageTitleEmpty (ApplicationTester $I, Mouse $mouse)
 

Private Attributes

PageTree $pageTree
 

Static Private Attributes

static string $treeNode = '#typo3-pagetree-tree .nodes-list [role="treeitem"]'
 
static string $dragNode = '#typo3-pagetree-toolbar .tree-toolbar__drag-node'
 
static string $nodeEditInput = '.node-edit'
 

Detailed Description

Page tree related tests for page creation using drag and drop.

Definition at line 28 of file PageCreationWithDragAndDropCest.php.

Member Function Documentation

◆ _before()

TYPO3\CMS\Core\Tests\Acceptance\Application\PageTree\PageCreationWithDragAndDropCest::_before ( ApplicationTester  $I,
PageTree  $pageTree 
)

Open list module of styleguide elements basic page

Definition at line 39 of file PageCreationWithDragAndDropCest.php.

References TYPO3\CMS\Core\Tests\Acceptance\Application\PageTree\PageCreationWithDragAndDropCest\$pageTree.

◆ dragAndDropNewPageAndLeavePageTitleEmpty()

TYPO3\CMS\Core\Tests\Acceptance\Application\PageTree\PageCreationWithDragAndDropCest::dragAndDropNewPageAndLeavePageTitleEmpty ( ApplicationTester  $I,
Mouse  $mouse 
)

◆ dragAndDropNewPageAndQuitPageCreation()

TYPO3\CMS\Core\Tests\Acceptance\Application\PageTree\PageCreationWithDragAndDropCest::dragAndDropNewPageAndQuitPageCreation ( ApplicationTester  $I,
Mouse  $mouse 
)

Check drag and drop for new pages and quit page creation using Escape key.

Definition at line 70 of file PageCreationWithDragAndDropCest.php.

References TYPO3\CMS\Core\Tests\Acceptance\Support\Helper\Mouse\dragAndDrop().

◆ dragAndDropNewPageInNodeWithChildren()

TYPO3\CMS\Core\Tests\Acceptance\Application\PageTree\PageCreationWithDragAndDropCest::dragAndDropNewPageInNodeWithChildren ( ApplicationTester  $I)

Check drag and drop for new pages into nodes with children.

Definition at line 61 of file PageCreationWithDragAndDropCest.php.

◆ dragAndDropNewPageInNodeWithoutChildren()

TYPO3\CMS\Core\Tests\Acceptance\Application\PageTree\PageCreationWithDragAndDropCest::dragAndDropNewPageInNodeWithoutChildren ( ApplicationTester  $I)

Check drag and drop for new pages into nodes without children.

Definition at line 52 of file PageCreationWithDragAndDropCest.php.

Member Data Documentation

◆ $dragNode

string TYPO3\CMS\Core\Tests\Acceptance\Application\PageTree\PageCreationWithDragAndDropCest::$dragNode = '#typo3-pagetree-toolbar .tree-toolbar__drag-node'
staticprivate

Definition at line 31 of file PageCreationWithDragAndDropCest.php.

◆ $nodeEditInput

string TYPO3\CMS\Core\Tests\Acceptance\Application\PageTree\PageCreationWithDragAndDropCest::$nodeEditInput = '.node-edit'
staticprivate

◆ $pageTree

PageTree TYPO3\CMS\Core\Tests\Acceptance\Application\PageTree\PageCreationWithDragAndDropCest::$pageTree
private

◆ $treeNode

string TYPO3\CMS\Core\Tests\Acceptance\Application\PageTree\PageCreationWithDragAndDropCest::$treeNode = '#typo3-pagetree-tree .nodes-list [role="treeitem"]'
staticprivate

Definition at line 30 of file PageCreationWithDragAndDropCest.php.