From 1c0cbc326936478579eb23452efa8266e9e0c529 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 29 Aug 2016 07:08:57 +0200 Subject: [PATCH] Improve qute:settings tests --- tests/end2end/features/set.feature | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/tests/end2end/features/set.feature b/tests/end2end/features/set.feature index 92150e079..94594639d 100644 --- a/tests/end2end/features/set.feature +++ b/tests/end2end/features/set.feature @@ -65,17 +65,18 @@ Feature: Setting settings. @qtwebengine_todo: qute:settings is not implemented yet Scenario: Focusing input fields in qute://settings and entering valid value - When I open qute://settings + When I set general -> ignore-case to false + And I open qute://settings # scroll to the right - the table does not fit in the default screen And I run :scroll-perc -x 100 And I hint with args "inputs" and follow a + And I wait for "Entering mode KeyMode.insert *" in the log And I press the key "" - And I press the key "true" + And I press the keys "true" And I press the key "" # an explicit Tab to unfocus the input field seems to stabilize the tests And I press the key "" - And I run :set general ignore-case? - Then "general ignore-case = true" should be logged + Then general -> ignore-case should be true @qtwebengine_todo: qute:settings is not implemented yet Scenario: Focusing input fields in qute://settings and entering invalid value @@ -83,8 +84,9 @@ Feature: Setting settings. # scroll to the right - the table does not fit in the default screen And I run :scroll-perc -x 100 And I hint with args "inputs" and follow a + And I wait for "Entering mode KeyMode.insert *" in the log And I press the key "" - And I press the key "foo" + And I press the keys "foo" And I press the key "" # an explicit Tab to unfocus the input field seems to stabilize the tests And I press the key ""