[TASK] Acceptance tests: Don't restart browser 62/54262/3
authorChristian Kuhn <lolli@schwarzbu.ch>
Mon, 2 Oct 2017 21:12:41 +0000 (23:12 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 2 Oct 2017 22:28:16 +0000 (00:28 +0200)
To speed up acceptance tests a bit the browser is no
longer restarted between tests.

Change-Id: I03132905eed1dd6a4ccca137e0e8047b01aa6ca9
Resolves: #82652
Releases: master, 8.7
Reviewed-on: https://review.typo3.org/54262
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Tests/Acceptance.suite.yml
typo3/sysext/core/Tests/Acceptance/Backend/Language/LanguageCest.php
typo3/sysext/core/Tests/AcceptanceInstallMysql.suite.yml
typo3/sysext/core/Tests/AcceptanceInstallPgsql.suite.yml

index a92cd50..445e764 100644 (file)
@@ -11,7 +11,7 @@ modules:
       port: 4444
       window_size: 1280x1024
       wait: 1
-      restart: true
+      restart: false
       capabilities:
         # Disable the "scroll to element before clicking" behavior as this breaks tests
         # where for example a fixed docbar is used. Selenium scrolls to the element before
index 07bd2e8..b0bdefa 100644 (file)
@@ -79,15 +79,15 @@ class LanguageCest
     {
         $I->wantTo('Install a language');
 
-        $I->seeElement('#language-da');
-        $I->seeElement('#language-da.disabled');
-        $I->click('#language-da td a.activateLanguageLink');
-        $I->seeElement('#language-da.enabled');
+        $I->seeElement('#language-pt_BR');
+        $I->seeElement('#language-pt_BR.disabled');
+        $I->click('#language-pt_BR td a.activateLanguageLink');
+        $I->seeElement('#language-pt_BR.enabled');
 
         $this->seeAlert($I, 'Success', 'Language was successfully activated.');
 
-        $I->click('#language-da td a.deactivateLanguageLink');
-        $I->seeElement('#language-da.disabled');
+        $I->click('#language-pt_BR td a.deactivateLanguageLink');
+        $I->seeElement('#language-pt_BR.disabled');
 
         $this->seeAlert($I, 'Success', 'Language was successfully deactivated.');
     }
@@ -105,9 +105,9 @@ class LanguageCest
         // Download only a single translation for a specific extension for performance reasons
         $I->wantTo('Download a single translation for a selected language');
 
-        $I->seeElement('#language-da');
-        $I->seeElement('#language-da.disabled');
-        $I->click('#language-da td a.activateLanguageLink');
+        $I->seeElement('#language-pt_BR');
+        $I->seeElement('#language-pt_BR.disabled');
+        $I->click('#language-pt_BR td a.activateLanguageLink');
 
         $I->selectOption('.t3-js-jumpMenuBox', 'Translation Overview');
         $I->waitForElementVisible('#typo3-translation-list');
index 9fca373..b3ed454 100644 (file)
@@ -11,7 +11,7 @@ modules:
       port: 4444
       window_size: 1280x1024
       wait: 1
-      restart: true
+      restart: false
       capabilities:
         # Disable the "scroll to element before clicking" behavior as this breaks tests
         # where for example a fixed docbar is used. Selenium scrolls to the element before
index 3e4ddd6..fb578b0 100644 (file)
@@ -11,7 +11,7 @@ modules:
       port: 4444
       window_size: 1280x1024
       wait: 1
-      restart: true
+      restart: false
       capabilities:
         # Disable the "scroll to element before clicking" behavior as this breaks tests
         # where for example a fixed docbar is used. Selenium scrolls to the element before