WebDriver: add support for slow tests
authorcarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 25 Jan 2018 13:53:59 +0000 (13:53 +0000)
committercarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 25 Jan 2018 13:53:59 +0000 (13:53 +0000)
commit5431916e23ff61fb81fe4d7fd190bfe7eb849457
tree1811b251972c7234fde802fa82aafccff2f44e35
parent78fd5ad21dd72c58947f9c0f5c1e24072757b35e
WebDriver: add support for slow tests
https://bugs.webkit.org/show_bug.cgi?id=182095

Reviewed by Carlos Alberto Lopez Perez.

Tools:

Add timeout mark to slow tests.

* Scripts/webkitpy/webdriver_tests/pytest_runner.py:
(TestExpectationsMarker.__init__): Save the timeout.
(TestExpectationsMarker.pytest_collection_modifyitems): If test is slow use timeout * 5.
(run): Pass timeout to TestExpectationsMarker constructor.

WebDriverTests:

Mark several tests as slow.

* TestExpectations.json:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@227604 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tools/ChangeLog
Tools/Scripts/webkitpy/webdriver_tests/pytest_runner.py
WebDriverTests/ChangeLog
WebDriverTests/TestExpectations.json