Пример #1
0
 /**
  * @param Admin $I
  */
 public function checkIfTheShowAllLinkPointsToTheListViewWithSearchResults(Admin $I)
 {
     $I->fillField('#live-search-box', 'fileadmin');
     $I->waitForElementVisible(self::$topBarModuleSelector . ' ' . Topbar::$dropdownListSelector);
     $I->canSee('fileadmin/ (auto-created)', self::$topBarModuleSelector);
     $I->click('.t3js-live-search-show-all', self::$topBarModuleSelector);
     $I->switchToIFrame('content');
     $I->waitForElementVisible('form[name="dblistForm"]');
     $I->canSee('fileadmin/ (auto-created)');
 }
Пример #2
0
 /**
  * @depends canSeeModuleInTopbar
  * @param Admin $I
  */
 public function seeStyleguideInHelpModule(Admin $I)
 {
     $I->click(Topbar::$dropdownToggleSelector, self::$topBarModuleSelector);
     $I->canSee('Styleguide', self::$topBarModuleSelector);
     $I->click('Styleguide', self::$topBarModuleSelector);
     $I->switchToIFrame('content');
     $I->see('TYPO3 CMS Backend Styleguide', 'h1');
 }
 /**
  * @param Admin $I
  */
 public function checkSearchFiltersList(Admin $I)
 {
     $I->canSeeNumberOfElements('#typo3-extension-list tbody tr[role="row"]', [10, 100]);
     // Fill extension search field
     $I->fillField('Tx_Extensionmanager_extensionkey', 'cshmanual');
     // see 2 rows. 1 for the header and one for the result
     $I->canSeeNumberOfElements('#typo3-extension-list tbody tr[role="row"]', 1);
     // Look for extension key
     $I->canSee('cshmanual', '#typo3-extension-list tbody tr[role="row"] td');
     // unset the filter
     $I->waitForElementVisible('#Tx_Extensionmanager_extensionkey ~button.close', 1);
     $I->click('#Tx_Extensionmanager_extensionkey ~button.close');
     $I->canSeeNumberOfElements('#typo3-extension-list tbody tr[role="row"]', [10, 100]);
 }
Пример #4
0
 /**
  * @param Admin $I
  */
 public function checkThatPageModuleHasAHeadline(Admin $I)
 {
     $I->click('Page');
     $I->switchToIFrame('content');
     $I->canSee('Web>Page module', 'h4');
 }