[webkit-changes] [WebKit/WebKit] abe059: [WebDriver] Pytest errors running run-webdriver-te...

Lauro Moura noreply at github.com
Wed Jan 24 07:32:18 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: abe0591426767036fc01d5d86d8a158ddfb77457
      https://github.com/WebKit/WebKit/commit/abe0591426767036fc01d5d86d8a158ddfb77457
  Author: Lauro Moura <lmoura at igalia.com>
  Date:   2024-01-24 (Wed, 24 Jan 2024)

  Changed paths:
    M Tools/Scripts/webkitpy/webdriver_tests/pytest_runner.py
    M WebDriverTests/imported/w3c/config.json

  Log Message:
  -----------
  [WebDriver] Pytest errors running run-webdriver-tests on a clean environment
https://bugs.webkit.org/show_bug.cgi?id=265202

Reviewed by Carlos Garcia Campos.

Import required pytest plugins to ensure Autoinstall installs them
before invoking pytest programatically in `pytest_runner.py`

pytest's lazy plugin loading wasn't installing either pytest-timeout nor
pytest-asyncio. The former added support for the `--timeout` parameter
that was being unrecognized in this bug original report.

This commit also includes a drive-by fix of WPT webdriver config.json,
updating a key in the same was as https://commits.webkit.org/272808@main

* Tools/Scripts/webkitpy/webdriver_tests/pytest_runner.py:
* WebDriverTests/imported/w3c/config.json:

Canonical link: https://commits.webkit.org/273413@main




More information about the webkit-changes mailing list