/**
  * @param Admin $I
  */
 public function selectingAModuleDoesHighlightIt(Admin $I)
 {
     $I->seeNumberOfElements('#web .typo3-module-menu-item-link', [2, 20]);
     $I->wantTo('check that the second element has no "active" class\'');
     $I->cantSeeElement('#web #web_list.active');
     $I->click('#web #web_list .typo3-module-menu-item-link');
     $I->wantTo('see that the second element has an "active" class');
     $I->canSeeElement('#web #web_list.active');
 }
示例#2
0
 /**
  * @param Admin $I
  * @return Admin
  */
 public function canSeeModuleInTopbar(Admin $I)
 {
     $I->canSeeElement(self::$topBarModuleSelector);
     return $I;
 }
 /**
  * @depends checkIfInstallingAnExtensionWithBackendModuleAddsTheModuleToTheModuleMenu
  * @param Admin $I
  */
 public function checkIfUninstallingAnExtensionWithBackendModuleRemovesTheModuleFromTheModuleMenu(Admin $I)
 {
     $I->switchToIFrame();
     $I->canSeeElement('#system_BeuserTxBeuser');
     $I->switchToIFrame('content');
     $I->fillField('Tx_Extensionmanager_extensionkey', 'beuser');
     $I->waitForElementVisible('//*[@id="typo3-extension-list"]/tbody/tr[@id="beuser"]');
     $I->click('a[data-original-title="Deactivate"]', '//*[@id="typo3-extension-list"]/tbody/tr[@id="beuser"]');
     $I->waitForElementVisible('#Tx_Extensionmanager_extensionkey ~button.close', 1);
     $I->click('#Tx_Extensionmanager_extensionkey ~button.close');
     $I->switchToIFrame();
     $I->cantSeeElement('#system_BeuserTxBeuser');
 }