diff --git a/qutebrowser/html/settings.html b/qutebrowser/html/settings.html index 57a0502ba..0952fe5e8 100644 --- a/qutebrowser/html/settings.html +++ b/qutebrowser/html/settings.html @@ -28,7 +28,7 @@ th pre { color: grey; text-align: left; } {{ d }} (Current: {{ confget(section, d)|truncate(100) }}) - diff --git a/tests/end2end/features/set.feature b/tests/end2end/features/set.feature index 6611b7ca0..94594639d 100644 --- a/tests/end2end/features/set.feature +++ b/tests/end2end/features/set.feature @@ -63,6 +63,35 @@ Feature: Setting settings. Then the following tabs should be open: - qute:settings (active) + @qtwebengine_todo: qute:settings is not implemented yet + Scenario: Focusing input fields in qute://settings and entering valid value + 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 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 "" + 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 + When 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 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 "" + Then "Invalid value 'foo' *" should be logged + Scenario: Empty option with ? (issue 1109) When I run :set general ? Then the error "set: The following arguments are required: value" should be shown