About everything is flaky

Did I already mention that I'm starting to hate those tests I wrote in the past
with a passion?
This commit is contained in:
Florian Bruhin 2018-07-22 13:07:06 +02:00
parent c1c182d958
commit 40e58126aa
6 changed files with 10 additions and 2 deletions

View File

@ -211,6 +211,7 @@ Feature: Downloading things from a website.
# works e.g. on a connection loss, which we can't test automatically. # works e.g. on a connection loss, which we can't test automatically.
Then "Retrying downloads is unsupported *" should not be logged Then "Retrying downloads is unsupported *" should not be logged
@flaky
Scenario: Retrying with count Scenario: Retrying with count
When I run :download http://localhost:(port)/data/downloads/download.bin When I run :download http://localhost:(port)/data/downloads/download.bin
And I run :download http://localhost:(port)/does-not-exist And I run :download http://localhost:(port)/does-not-exist

View File

@ -96,10 +96,12 @@ Feature: Page history
http://localhost:(port)/data/hints/html/simple.html Simple link http://localhost:(port)/data/hints/html/simple.html Simple link
http://localhost:(port)/data/hello.txt http://localhost:(port)/data/hello.txt
@flaky
Scenario: Listing history Scenario: Listing history
When I open data/numbers/3.txt When I open data/numbers/3.txt
And I open data/numbers/4.txt And I open data/numbers/4.txt
And I open qute://history And I open qute://history
And I wait 1s
Then the page should contain the plaintext "3.txt" Then the page should contain the plaintext "3.txt"
Then the page should contain the plaintext "4.txt" Then the page should contain the plaintext "4.txt"

View File

@ -116,7 +116,8 @@ Feature: Special qute:// pages
Then the option search.ignore_case should be set to always Then the option search.ignore_case should be set to always
# Sometimes, an unrelated value gets set # Sometimes, an unrelated value gets set
@flaky # Too flaky...
@skip
Scenario: Focusing input fields in qute://settings and entering invalid value Scenario: Focusing input fields in qute://settings and entering invalid value
When I open qute://settings When I open qute://settings
# scroll to the right - the table does not fit in the default screen # scroll to the right - the table does not fit in the default screen

View File

@ -173,10 +173,12 @@ Feature: Scrolling
When I run :scroll-to-perc 50 When I run :scroll-to-perc 50
Then the page should be scrolled vertically Then the page should be scrolled vertically
@flaky
Scenario: Scrolling to middle with :scroll-to-perc (float) Scenario: Scrolling to middle with :scroll-to-perc (float)
When I run :scroll-to-perc 50.5 When I run :scroll-to-perc 50.5
Then the page should be scrolled vertically Then the page should be scrolled vertically
@flaky
Scenario: Scrolling to middle and to top with :scroll-to-perc Scenario: Scrolling to middle and to top with :scroll-to-perc
When I run :scroll-to-perc 50 When I run :scroll-to-perc 50
And I wait until the scroll position changed And I wait until the scroll position changed

View File

@ -214,6 +214,7 @@ Feature: Searching on a page
# TODO: wrapping message without scrolling # TODO: wrapping message without scrolling
## follow searched links ## follow searched links
@flaky
Scenario: Follow a searched link Scenario: Follow a searched link
When I run :search follow When I run :search follow
And I wait for "search found follow" in the log And I wait for "search found follow" in the log

View File

@ -116,6 +116,7 @@ Feature: quickmarks and bookmarks
When I run :quickmark-add http://localhost:(port)/data/numbers/9.txt nine When I run :quickmark-add http://localhost:(port)/data/numbers/9.txt nine
Then the quickmark file should contain "nine http://localhost:*/data/numbers/9.txt" Then the quickmark file should contain "nine http://localhost:*/data/numbers/9.txt"
@flaky
Scenario: Saving a quickmark (:quickmark-save) Scenario: Saving a quickmark (:quickmark-save)
When I open data/numbers/10.txt When I open data/numbers/10.txt
And I run :quickmark-save And I run :quickmark-save