[BUGFIX] Acceptance test for extension manager 14/50114/2
authorMarco Bresch <Marco.Bresch@starfinanz.de>
Fri, 7 Oct 2016 17:26:19 +0000 (19:26 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Fri, 7 Oct 2016 20:55:34 +0000 (22:55 +0200)
Now the extension recycler is used for testing instead of beuser.

Resolves: #78185
Related: #77820
Releases: master
Change-Id: If6b049861335fee6762082b40217acb355c649d1
Reviewed-on: https://review.typo3.org/50114
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Marc von Schalscha <msa@starfinanz.de>
Reviewed-by: Martin Fox <kontakt@mlis.pl>
Tested-by: Martin Fox <kontakt@mlis.pl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Tests/Acceptance/Backend/Extensionmanager/InstalledExtensionsCest.php

index c987eb5..1613eaf 100644 (file)
@@ -80,18 +80,18 @@ class InstalledExtensionsCest
     {
         $I->switchToIFrame();
         $I->canSeeElement('.typo3-module-menu-item');
-        $I->cantSeeElement('#system_BeuserTxBeuser');
+        $I->cantSeeElement('#web_RecyclerRecycler');
 
         $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="Activate"]', '//*[@id="typo3-extension-list"]/tbody/tr[@id="beuser"]');
+        $I->fillField('Tx_Extensionmanager_extensionkey', 'recycler');
+        $I->waitForElementVisible('//*[@id="typo3-extension-list"]/tbody/tr[@id="recycler"]');
+        $I->click('a[data-original-title="Activate"]', '//*[@id="typo3-extension-list"]/tbody/tr[@id="recycler"]');
 
         $I->waitForElementVisible('#Tx_Extensionmanager_extensionkey ~button.close', 1);
         $I->click('#Tx_Extensionmanager_extensionkey ~button.close');
 
         $I->switchToIFrame();
-        $I->canSeeElement('#system_BeuserTxBeuser');
+        $I->canSeeElement('#web_RecyclerRecycler');
 
         return $I;
     }
@@ -103,17 +103,17 @@ class InstalledExtensionsCest
     public function checkIfUninstallingAnExtensionWithBackendModuleRemovesTheModuleFromTheModuleMenu(Admin $I)
     {
         $I->switchToIFrame();
-        $I->canSeeElement('#system_BeuserTxBeuser');
+        $I->canSeeElement('#web_RecyclerRecycler');
 
         $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->fillField('Tx_Extensionmanager_extensionkey', 'recycler');
+        $I->waitForElementVisible('//*[@id="typo3-extension-list"]/tbody/tr[@id="recycler"]');
+        $I->click('a[data-original-title="Deactivate"]', '//*[@id="typo3-extension-list"]/tbody/tr[@id="recycler"]');
 
         $I->waitForElementVisible('#Tx_Extensionmanager_extensionkey ~button.close', 1);
         $I->click('#Tx_Extensionmanager_extensionkey ~button.close');
 
         $I->switchToIFrame();
-        $I->cantSeeElement('#system_BeuserTxBeuser');
+        $I->cantSeeElement('#web_RecyclerRecycler');
     }
 }