From 8eee3f6bce923b79e48c4330662a49b4751cd2de Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 15 Jun 2016 14:44:01 +0200 Subject: [PATCH] Add a test for zooming in cloned tab --- tests/end2end/features/zoom.feature | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tests/end2end/features/zoom.feature b/tests/end2end/features/zoom.feature index 0dddf2ec3..da08815cc 100644 --- a/tests/end2end/features/zoom.feature +++ b/tests/end2end/features/zoom.feature @@ -72,3 +72,15 @@ Feature: Zooming in and out Scenario: Setting zoom with argument and count When I run :zoom 50 with count 60 Then the error "Both count and argument given!" should be shown + + # Fixed in QtWebEngine branch + @xfail + Scenario: Zooming in with cloned tab + When I set ui -> default-zoom to 100% + And I run :zoom-in + And I wait for "Zoom level: 110%" in the log + And I run :tab-clone + And I wait until data/hello.txt is loaded + And I run :zoom-in + Then the message "Zoom level: 120%" should be shown + And the zoom should be 120%