consul/ui-v2/tests
John Cowen c8dfe43d29
ui: Default test latency to 0 (#8640)
During development a HTTP request will pause for 1 minute ONLY when an
?index is set. This gives a realistic emulation of blocking queries.

During testing we can change this latency when we are testing blocking
queries, which we do in numerous places.

A problem can arise during testing on a very slow machine.

If you are not testing blocking queries and therefore not set a latency
to test with, if the machine you are testing on is slow enough a normal
page can assert during a test, yet not tear down before a further
blocking query request is made. This blocking query then uses the default
latency which cause the page to hang for 1 minute, which in turn causes
the test to timeout.

This only seems to happen on a very slow system, but it does potentially
explain why we occasionally see the odd flakey test popping up.
2020-09-09 18:51:18 +01:00
..
acceptance ui: Reinstate listing of available test steps via CLI (#8614) 2020-09-09 09:12:42 +01:00
helpers ui: Default test latency to 0 (#8640) 2020-09-09 18:51:18 +01:00
integration ui: Delete unused javascript/CSS components (#8597) 2020-09-02 14:45:06 +01:00
lib ui: Colocate pageobject components with their components (#8098) 2020-06-12 16:50:09 +01:00
pages ui: Improved filtering and sorting (#8591) 2020-09-01 19:13:11 +01:00
steps ui: Reinstate listing of available test steps via CLI (#8614) 2020-09-09 09:12:42 +01:00
unit ui: Improved filtering and sorting (#8591) 2020-09-01 19:13:11 +01:00
dictionary.js ui: Run 2 separate test runs oss and ent (#7214) 2020-02-07 11:02:53 +00:00
index.html
pages.js ui: Redesign Node list page (#8567) 2020-08-28 09:21:03 -04:00
steps.js ui: Reinstate listing of available test steps via CLI (#8614) 2020-09-09 09:12:42 +01:00
test-helper.js ui: Remove jQuery from the production build (#8088) 2020-07-07 19:58:46 +01:00