From 583c0177e52d1b12708e278edf9208358771698a Mon Sep 17 00:00:00 2001 From: Johan Bloemberg Date: Thu, 6 Feb 2025 20:32:10 +0100 Subject: [PATCH] Pin pytest-playwright and playwright version This should prevent `Looks like Playwright was just updated to XXXXX` error messages --- docker/test-runner.Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/test-runner.Dockerfile b/docker/test-runner.Dockerfile index b5ecf3a4b..058a8dca9 100644 --- a/docker/test-runner.Dockerfile +++ b/docker/test-runner.Dockerfile @@ -3,7 +3,7 @@ ARG PYTHON_VERSION=3.9 FROM mcr.microsoft.com/playwright/python:v1.49.0-noble ARG PYTHON_VERSION -RUN python3 -m pip install pytest pytest-playwright +RUN python3 -m pip install pytest pytest-playwright==0.6.2 playwright==1.49.0 RUN install -m 0755 -d /etc/apt/keyrings RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg @@ -26,4 +26,4 @@ COPY integration_tests/ /source/integration_tests/ WORKDIR /source ENTRYPOINT [ "python3", "-m", "pytest", "--verbose"] -CMD [ "integration_tests/live/" ] \ No newline at end of file +CMD [ "integration_tests/live/" ]