Skip to content

Commit c97e809

Browse files
authored
Fix UI tests (#8690)
1 parent f7ce5bd commit c97e809

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

pixi.toml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,11 @@ test-example = 'pytest -n logical --dist loadscope --nbval-lax examples'
237237
nbval = "*"
238238

239239
[feature.test-ui.dependencies]
240-
playwright = "*"
240+
# The playwright CLI installs the browser build that the playwright-python
241+
# client speaks to, so the two must stay on the same minor version. A newer
242+
# CLI downloads a Chromium the client cannot drive, which hangs tests
243+
# indefinitely rather than failing them.
244+
playwright = "1.61.*"
241245
pytest-playwright = "*"
242246
pytest-asyncio = "*"
243247
jupyter_server = "*"
@@ -251,7 +255,7 @@ PLAYWRIGHT_BROWSERS_PATH = ".pixi/playwright-browsers"
251255
_install-ui = 'playwright install chromium'
252256

253257
[feature.test-ui.tasks.test-ui]
254-
cmd = 'pytest panel/tests/ui --ui --browser chromium -n logical --dist loadgroup'
258+
cmd = 'pytest panel/tests/ui --ui --browser chromium -n logical --dist loadgroup -v'
255259
depends-on = ["_install-ui"]
256260

257261
# =============================================

0 commit comments

Comments
 (0)