‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Tests\Acceptance\Application\Impexp\UsersCest Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Acceptance\Application\Impexp\UsersCest:
TYPO3\CMS\Core\Tests\Acceptance\Application\Impexp\AbstractCest

Public Member Functions

 _before (ApplicationTester $I)
 
 doNotShowImportAndExportInContextMenuForNonAdminUser (ApplicationTester $I, PageTree $pageTree)
 
 showImportExportInContextMenuForNonAdminUserIfFlagSet (ApplicationTester $I)
 
 hideImportCheckboxForceAllUidsForNonAdmin (ApplicationTester $I)
 
 hideUploadTabAndImportPathIfNoImportFolderAvailable (ApplicationTester $I, PageTree $pageTree)
 
 checkVisualElements (ApplicationTester $I, PageTree $pageTree)
 

Private Member Functions

 setPageAccess (ApplicationTester $I, PageTree $pageTree, array $pagePath, int $userGroupId, int $recursionLevel=1)
 
 setModAccess (ApplicationTester $I, int $userGroupId, array $modAccessByName)
 
 setUserTsConfig (ApplicationTester $I, int $userId, string $userTsConfig)
 

Private Attributes

string $inPageTree = '#typo3-pagetree-treeContainer .nodes-list'
 
string $inModuleHeader = '.module-docheader'
 
string $inModuleTabs = '#ImportExportController .nav-tabs'
 
string $inModuleTabsBody = '#ImportExportController .tab-content'
 
string $contextMenuMore = '#contentMenu0 li.context-menu-item-submenu'
 
string $contextMenuExport = '#contentMenu1 li.context-menu-item[data-callback-action=exportT3d]'
 
string $contextMenuImport = '#contentMenu1 li.context-menu-item[data-callback-action=importT3d]'
 
string $buttonViewPage = 'span[data-identifier="actions-view-page"]'
 
string $tabUpload = 'a[href="#import-upload"]'
 
string $checkboxForceAllUids = 'input#checkForce_all_UIDS'
 

Additional Inherited Members

- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Core\Tests\Acceptance\Application\Impexp\AbstractCest
 selectInContextMenu (ApplicationTester $I, array $path)
 
 timeoutForAjaxRequest (ApplicationTester $I)
 

Detailed Description

Various context menu related tests

Definition at line 26 of file UsersCest.php.

Member Function Documentation

◆ _before()

TYPO3\CMS\Core\Tests\Acceptance\Application\Impexp\UsersCest::_before ( ApplicationTester  $I)

Definition at line 39 of file UsersCest.php.

◆ checkVisualElements()

TYPO3\CMS\Core\Tests\Acceptance\Application\Impexp\UsersCest::checkVisualElements ( ApplicationTester  $I,
PageTree  $pageTree 
)

Definition at line 137 of file UsersCest.php.

◆ doNotShowImportAndExportInContextMenuForNonAdminUser()

TYPO3\CMS\Core\Tests\Acceptance\Application\Impexp\UsersCest::doNotShowImportAndExportInContextMenuForNonAdminUser ( ApplicationTester  $I,
PageTree  $pageTree 
)

Definition at line 45 of file UsersCest.php.

◆ hideImportCheckboxForceAllUidsForNonAdmin()

TYPO3\CMS\Core\Tests\Acceptance\Application\Impexp\UsersCest::hideImportCheckboxForceAllUidsForNonAdmin ( ApplicationTester  $I)

@depends showImportExportInContextMenuForNonAdminUserIfFlagSet

Definition at line 84 of file UsersCest.php.

◆ hideUploadTabAndImportPathIfNoImportFolderAvailable()

TYPO3\CMS\Core\Tests\Acceptance\Application\Impexp\UsersCest::hideUploadTabAndImportPathIfNoImportFolderAvailable ( ApplicationTester  $I,
PageTree  $pageTree 
)

@depends showImportExportInContextMenuForNonAdminUserIfFlagSet

Definition at line 109 of file UsersCest.php.

◆ setModAccess()

TYPO3\CMS\Core\Tests\Acceptance\Application\Impexp\UsersCest::setModAccess ( ApplicationTester  $I,
int  $userGroupId,
array  $modAccessByName 
)
private

Definition at line 191 of file UsersCest.php.

◆ setPageAccess()

TYPO3\CMS\Core\Tests\Acceptance\Application\Impexp\UsersCest::setPageAccess ( ApplicationTester  $I,
PageTree  $pageTree,
array  $pagePath,
int  $userGroupId,
int  $recursionLevel = 1 
)
private

Definition at line 174 of file UsersCest.php.

◆ setUserTsConfig()

TYPO3\CMS\Core\Tests\Acceptance\Application\Impexp\UsersCest::setUserTsConfig ( ApplicationTester  $I,
int  $userId,
string  $userTsConfig 
)
private

Definition at line 218 of file UsersCest.php.

◆ showImportExportInContextMenuForNonAdminUserIfFlagSet()

TYPO3\CMS\Core\Tests\Acceptance\Application\Impexp\UsersCest::showImportExportInContextMenuForNonAdminUserIfFlagSet ( ApplicationTester  $I)

Definition at line 64 of file UsersCest.php.

Member Data Documentation

◆ $buttonViewPage

string TYPO3\CMS\Core\Tests\Acceptance\Application\Impexp\UsersCest::$buttonViewPage = 'span[data-identifier="actions-view-page"]'
private

Definition at line 35 of file UsersCest.php.

◆ $checkboxForceAllUids

string TYPO3\CMS\Core\Tests\Acceptance\Application\Impexp\UsersCest::$checkboxForceAllUids = 'input#checkForce_all_UIDS'
private

Definition at line 37 of file UsersCest.php.

◆ $contextMenuExport

string TYPO3\CMS\Core\Tests\Acceptance\Application\Impexp\UsersCest::$contextMenuExport = '#contentMenu1 li.context-menu-item[data-callback-action=exportT3d]'
private

Definition at line 33 of file UsersCest.php.

◆ $contextMenuImport

string TYPO3\CMS\Core\Tests\Acceptance\Application\Impexp\UsersCest::$contextMenuImport = '#contentMenu1 li.context-menu-item[data-callback-action=importT3d]'
private

Definition at line 34 of file UsersCest.php.

◆ $contextMenuMore

string TYPO3\CMS\Core\Tests\Acceptance\Application\Impexp\UsersCest::$contextMenuMore = '#contentMenu0 li.context-menu-item-submenu'
private

Definition at line 32 of file UsersCest.php.

◆ $inModuleHeader

string TYPO3\CMS\Core\Tests\Acceptance\Application\Impexp\UsersCest::$inModuleHeader = '.module-docheader'
private

Definition at line 29 of file UsersCest.php.

◆ $inModuleTabs

string TYPO3\CMS\Core\Tests\Acceptance\Application\Impexp\UsersCest::$inModuleTabs = '#ImportExportController .nav-tabs'
private

Definition at line 30 of file UsersCest.php.

◆ $inModuleTabsBody

string TYPO3\CMS\Core\Tests\Acceptance\Application\Impexp\UsersCest::$inModuleTabsBody = '#ImportExportController .tab-content'
private

Definition at line 31 of file UsersCest.php.

◆ $inPageTree

string TYPO3\CMS\Core\Tests\Acceptance\Application\Impexp\UsersCest::$inPageTree = '#typo3-pagetree-treeContainer .nodes-list'
private

Definition at line 28 of file UsersCest.php.

◆ $tabUpload

string TYPO3\CMS\Core\Tests\Acceptance\Application\Impexp\UsersCest::$tabUpload = 'a[href="#import-upload"]'
private

Definition at line 36 of file UsersCest.php.