From f051c9a8787ff15cf27299ee39e4edbdb24a33d8 Mon Sep 17 00:00:00 2001 From: "github-action[bot]" <> Date: Fri, 4 Jul 2025 06:36:21 +0000 Subject: [PATCH] Update Flex endpoint --- ...cfe4c7a2903d7e8e8a919d8856d172e68dbc0.json | 80 +++++++++++++++++++ symfony.panther.1.0.json | 15 ++-- 2 files changed, 87 insertions(+), 8 deletions(-) create mode 100644 archived/symfony.panther/f6fcfe4c7a2903d7e8e8a919d8856d172e68dbc0.json diff --git a/archived/symfony.panther/f6fcfe4c7a2903d7e8e8a919d8856d172e68dbc0.json b/archived/symfony.panther/f6fcfe4c7a2903d7e8e8a919d8856d172e68dbc0.json new file mode 100644 index 00000000..016bf7aa --- /dev/null +++ b/archived/symfony.panther/f6fcfe4c7a2903d7e8e8a919d8856d172e68dbc0.json @@ -0,0 +1,80 @@ +{ + "manifests": { + "symfony/panther": { + "manifest": { + "conflict": { + "symfony/flex": "<1.23.0 || >=2.0.0,<2.8.0" + }, + "dockerfile": [ + "# Chromium and ChromeDriver", + "ENV PANTHER_NO_SANDBOX=1", + "# Not mandatory, but recommended", + "ENV PANTHER_CHROME_ARGUMENTS='--disable-dev-shm-usage'", + "# hadolint ignore=DL3008", + "RUN apt-get update && apt-get install -y --no-install-recommends chromium chromium-driver && rm -rf /var/lib/apt/lists/*", + "", + "# Firefox and geckodriver", + "#ARG GECKODRIVER_VERSION=0.34.0", + "# hadolint ignore=DL3008", + "#RUN apt-get update && apt-get install -y --no-install-recommends firefox && rm -rf /var/lib/apt/lists/*", + "#RUN wget -q https://github.com/mozilla/geckodriver/releases/download/v$GECKODRIVER_VERSION/geckodriver-v$GECKODRIVER_VERSION-aarch64.tar.gz; \\", + "#\ttar -zxf geckodriver-v$GECKODRIVER_VERSION-aarch64.tar.gz -C /usr/bin; \\", + "#\trm geckodriver-v$GECKODRIVER_VERSION-aarch64.tar.gz" + ], + "dotenv": { + "test": { + "PANTHER_APP_ENV": "panther", + "PANTHER_ERROR_SCREENSHOT_DIR": "./var/error-screenshots" + } + }, + "add-lines": [ + { + "file": "phpunit.xml.dist", + "content": " ", + "position": "after_target", + "target": "", + "requires": "symfony/phpunit-bridge:<7.3", + "warn_if_missing": false + }, + { + "file": "phpunit.dist.xml", + "content": " ", + "position": "after_target", + "target": "", + "requires": "symfony/phpunit-bridge:<7.3", + "warn_if_missing": false + }, + { + "file": "phpunit.xml.dist", + "content": " ", + "position": "after_target", + "target": "", + "requires": "phpunit/phpunit:<10", + "warn_if_missing": false + }, + { + "file": "phpunit.dist.xml", + "content": " ", + "position": "after_target", + "target": "", + "requires": "phpunit/phpunit:>=10", + "warn_if_missing": false + } + ], + "post-install-output": [ + " * Install ChromeDriver or geckodriver with ", + " the package manager of your Operating System.", + " ", + " Alternatively, use Browser Driver Installer:", + "", + " composer require --dev dbrekelmans/bdi", + " vendor/bin/bdi detect drivers", + "", + " This step is not necessary when using Docker." + ] + }, + "files": [], + "ref": "f6fcfe4c7a2903d7e8e8a919d8856d172e68dbc0" + } + } +} diff --git a/symfony.panther.1.0.json b/symfony.panther.1.0.json index 159f3723..016bf7aa 100644 --- a/symfony.panther.1.0.json +++ b/symfony.panther.1.0.json @@ -21,6 +21,12 @@ "#\ttar -zxf geckodriver-v$GECKODRIVER_VERSION-aarch64.tar.gz -C /usr/bin; \\", "#\trm geckodriver-v$GECKODRIVER_VERSION-aarch64.tar.gz" ], + "dotenv": { + "test": { + "PANTHER_APP_ENV": "panther", + "PANTHER_ERROR_SCREENSHOT_DIR": "./var/error-screenshots" + } + }, "add-lines": [ { "file": "phpunit.xml.dist", @@ -53,13 +59,6 @@ "target": "", "requires": "phpunit/phpunit:>=10", "warn_if_missing": false - }, - { - "file": ".env.test", - "content": "PANTHER_APP_ENV=panther\nPANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots", - "position": "after_target", - "target": "SYMFONY_DEPRECATIONS_HELPER=999999", - "warn_if_missing": true } ], "post-install-output": [ @@ -75,7 +74,7 @@ ] }, "files": [], - "ref": "10a0819550b1c502aa31986d27cae13a697baf54" + "ref": "f6fcfe4c7a2903d7e8e8a919d8856d172e68dbc0" } } }