diff --git a/.github/workflows/test_suite.yml b/.github/workflows/test_suite.yml index e45d088..5ce612e 100644 --- a/.github/workflows/test_suite.yml +++ b/.github/workflows/test_suite.yml @@ -21,6 +21,9 @@ jobs: python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] steps: + - name: Pull selenium-standalone:latest + run: podman pull selenium/standalone-${{ matrix.browser }}:4.9 + - name: Pull docker.io/library/nginx:alpine run: podman pull docker.io/library/nginx:alpine @@ -82,7 +85,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [windows-latest, macos-latest] # We are running test on ubuntu linux. + os: [windows-latest, macos-latest] # We are running test on ubuntu linux. steps: - name: Checkout diff --git a/testing/conftest.py b/testing/conftest.py index 321b15f..04d87ed 100644 --- a/testing/conftest.py +++ b/testing/conftest.py @@ -57,7 +57,7 @@ def selenium_url(worker_id, browser_name, podman, pod): last_oktet = 1 if worker_id == "master" else int(worker_id.lstrip("gw")) + 1 localhost_for_worker = f"127.0.0.{last_oktet}" container = podman.containers.create( - image=f"selenium/standalone-{browser_name}:4.9.0-20230421", + image=f"docker.io/selenium/standalone-{browser_name}:4.9", pod=pod.id, remove=True, name=f"selenium_{worker_id}",