Improve qute:settings tests
This commit is contained in:
parent
5917f34eab
commit
1c0cbc3269
@ -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 "<Ctrl+Backspace>"
|
||||
And I press the key "true"
|
||||
And I press the keys "true"
|
||||
And I press the key "<Escape>"
|
||||
# an explicit Tab to unfocus the input field seems to stabilize the tests
|
||||
And I press the key "<Tab>"
|
||||
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 "<Ctrl+Backspace>"
|
||||
And I press the key "foo"
|
||||
And I press the keys "foo"
|
||||
And I press the key "<Escape>"
|
||||
# an explicit Tab to unfocus the input field seems to stabilize the tests
|
||||
And I press the key "<Tab>"
|
||||
|
Loading…
Reference in New Issue
Block a user