Update Flex endpoint

This commit is contained in:
github-action[bot]
2023-06-21 06:31:09 +00:00
parent 1592f2ed32
commit ff7f288386
2 changed files with 47 additions and 2 deletions
@@ -0,0 +1,44 @@
{
"manifests": {
"symfony/panther": {
"manifest": {
"dockerfile": [
"# Chromium and ChromeDriver",
"ENV PANTHER_NO_SANDBOX 1",
"# Not mandatory, but recommended",
"ENV PANTHER_CHROME_ARGUMENTS='--disable-dev-shm-usage'",
"RUN apk add --no-cache chromium chromium-chromedriver",
"",
"# Firefox and geckodriver",
"#ARG GECKODRIVER_VERSION=0.29.0",
"#RUN apk add --no-cache firefox",
"#RUN wget -q https://github.com/mozilla/geckodriver/releases/download/v$GECKODRIVER_VERSION/geckodriver-v$GECKODRIVER_VERSION-linux64.tar.gz; \\",
"#\ttar -zxf geckodriver-v$GECKODRIVER_VERSION-linux64.tar.gz -C /usr/bin; \\",
"#\trm geckodriver-v$GECKODRIVER_VERSION-linux64.tar.gz"
],
"add-lines": [
{
"file": "phpunit.xml.dist",
"content": " <extension class=\"Symfony\\Component\\Panther\\ServerExtension\" />",
"position": "after_target",
"target": "<extensions>",
"warn_if_missing": true
}
],
"post-install-output": [
" * Install <fg=green>ChromeDriver</> or <fg=green>geckodriver</> with ",
" the package manager of your Operating System.",
" ",
" Alternatively, use Browser Driver Installer:",
"",
" <fg=green>composer require --dev dbrekelmans/bdi</>",
" <fg=green>vendor/bin/bdi detect drivers</>",
"",
" This step is not necessary when using Docker."
]
},
"files": [],
"ref": "292a3236e81f55b545b09b9954ab097248972ab3"
}
}
}
+3 -2
View File
@@ -21,7 +21,8 @@
"file": "phpunit.xml.dist",
"content": " <extension class=\"Symfony\\Component\\Panther\\ServerExtension\" />",
"position": "after_target",
"target": "<extensions>"
"target": "<extensions>",
"warn_if_missing": true
}
],
"post-install-output": [
@@ -37,7 +38,7 @@
]
},
"files": [],
"ref": "2e163d6c3d10688ce3eac42afe5bf9e1fcb7327e"
"ref": "292a3236e81f55b545b09b9954ab097248972ab3"
}
}
}