[TASK] Ensure that logout action of UAT is executed in correct frame 85/47585/2
authorSascha Egerer <sascha@sascha-egerer.de>
Mon, 11 Apr 2016 21:30:54 +0000 (23:30 +0200)
committerSascha Egerer <sascha@sascha-egerer.de>
Tue, 12 Apr 2016 15:17:37 +0000 (17:17 +0200)
The logout action of the user acceptance tests must be executed
on the main page frame. We must ensure that we are in the correct
frame inside of this action.

Change-Id: Ied588442516513138f16da4037e29fa56f3f1399
Resolves: #75528
Releases: master
Reviewed-on: https://review.typo3.org/47585
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Dirk Jüttner <dirk.juettner@gmail.com>
Tested-by: Dirk Jüttner <dirk.juettner@gmail.com>
Reviewed-by: Sascha Egerer <sascha@sascha-egerer.de>
Tested-by: Sascha Egerer <sascha@sascha-egerer.de>

index d794baa..110aa7b 100644 (file)
@@ -50,6 +50,8 @@ class Kasper extends \AcceptanceTester
         $I = $this;
         $I->amGoingTo('step backend login');
+        // ensure that we are on the main frame
+        $I->switchToIFrame();
         $I->click('#typo3-cms-backend-backend-toolbaritems-usertoolbaritem > a');