Stabilize some tests with Qt 5.9 QtWebEngine

This commit is contained in:
Florian Bruhin 2017-04-08 20:38:23 +02:00
parent 232f091bfe
commit 28e6158a04
2 changed files with 7 additions and 3 deletions

View File

@ -513,11 +513,15 @@ Feature: Various utility commands.
Then the error "Invalid log level cataclysmic!" should be shown
Scenario: Using qute://log directly
When I open qute://log
When I open qute://log without waiting
# With Qt 5.9, we don't get a loaded message?
And I wait for "Changing title for idx * to 'log'" in the log
Then no crash should happen
Scenario: Using qute://plainlog directly
When I open qute://plainlog
When I open qute://plainlog without waiting
# With Qt 5.9, we don't get a loaded message?
And I wait for "Changing title for idx * to 'log'" in the log
Then no crash should happen
Scenario: Using :messages without messages

View File

@ -39,6 +39,7 @@ Feature: Scrolling
And I wait until the scroll position changed to 0/0
Then the page should not be scrolled
@qtwebengine_flaky
Scenario: Scrolling left and right with count
When I run :scroll-px 10 0 with count 2
And I wait until the scroll position changed to 20/0
@ -146,7 +147,6 @@ Feature: Scrolling
Scenario: Scrolling down with a very big count
When I run :scroll down with count 99999999999
And I wait until the scroll position changed
# Make sure it doesn't hang
And I run :message-info "Still alive!"
Then the message "Still alive!" should be shown