Skip to content

Commit 0883b57

Browse files
committed
Finish the recipe
1 parent 84f51e8 commit 0883b57

File tree

3 files changed

+24
-1
lines changed

3 files changed

+24
-1
lines changed

symfony/panther/1.0/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"ENV PANTHER_CHROME_ARGUMENTS='--disable-dev-shm-usage'",
77
"RUN apk add --no-cache chromium chromium-chromedriver",
88
"",
9-
"# Firefox and GeckoDriver",
9+
"# Firefox and geckodriver",
1010
"#ARG GECKODRIVER_VERSION=0.29.0",
1111
"#RUN apk add --no-cache firefox",
1212
"#RUN wget -q https://github.com/mozilla/geckodriver/releases/download/v$GECKODRIVER_VERSION/geckodriver-v$GECKODRIVER_VERSION-linux64.tar.gz; \\",

symfony/panther/1.0/post-install.txt

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<bg=blue;fg=white> </>
2+
<bg=blue;fg=white> Finish Panther Installation </>
3+
<bg=blue;fg=white> </>
4+
5+
* Install <fg=green>ChromeDriver</> or <fg=green>geckodriver</> with
6+
the package manager of your Operating System.
7+
8+
Alternatively, use Browser Driver Installer:
9+
10+
<fg=green>composer require --dev dbrekelmans/bdi</>
11+
<fg=green>vendor/bin/bdi detect drivers</>
12+
13+
This step is not necessary when using Docker.
14+
15+
* To use Panther with PHPUnit,
16+
uncomment the snippet registering the Panther extension in <fg=green>phpunit.xml.dist</>

symfony/phpunit-bridge/5.1/phpunit.xml.dist

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,11 @@
3030
<listeners>
3131
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener" />
3232
</listeners>
33+
34+
<!-- Run `composer require symfony/panther` before enabling this extension -->
35+
<!--
36+
<extensions>
37+
<extension class="Symfony\Component\Panther\ServerExtension" />
38+
</extensions>
39+
-->
3340
</phpunit>

0 commit comments

Comments
 (0)