|
| 1 | +# Pickle Panther — YAML-driven E2E testing on top of Symfony Panther. |
| 2 | +# |
| 3 | +# Loaded in the "test" environment only: the bundle is registered for "test" in |
| 4 | +# config/bundles.php, so a root-level config/packages/ file would also load in |
| 5 | +# prod (where the bundle is absent) and Symfony would fail to boot. |
| 6 | +# |
| 7 | +# Every key below is OPTIONAL and shown with its default value — edit in place, |
| 8 | +# or delete what you keep at the default. Full reference & docs: |
| 9 | +# https://github.com/Amoifr/PicklePantherBundle |
| 10 | +pickle_panther: |
| 11 | + locale: fr # default DSL language (fr|en) — matching is bilingual anyway |
| 12 | + debug: false # true => a screenshot after every step (= E2E_DEBUG=1) |
| 13 | + scenarios_dir: '%kernel.project_dir%/tests/E2E/Scenario' |
| 14 | + report: |
| 15 | + enabled: true |
| 16 | + output_dir: '%kernel.project_dir%/var/pickle-panther' |
| 17 | + browser: |
| 18 | + headless: true |
| 19 | + chrome_args: [] # extra Chrome args appended to the defaults |
| 20 | + desktop: |
| 21 | + width: 1920 |
| 22 | + height: 1080 |
| 23 | + user_agent: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36' |
| 24 | + mobile: |
| 25 | + width: 375 |
| 26 | + height: 812 |
| 27 | + pixel_ratio: 3.0 |
| 28 | + user_agent: 'Mozilla/5.0 (iPhone; CPU iPhone OS 16_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.0 Mobile/15E148 Safari/604.1' |
| 29 | + |
| 30 | + # Optional built-in form-login authenticator. Uncomment to enable it; leave |
| 31 | + # commented if your app has a custom login flow (define your own service |
| 32 | + # aliased to Amoifr\PicklePantherBundle\Auth\AuthenticatorInterface instead). |
| 33 | + # Keep credentials out of the repository — read them from environment variables. |
| 34 | + #auth: |
| 35 | + # login_path: /login |
| 36 | + # logout_path: /logout |
| 37 | + # form_selector: 'form' |
| 38 | + # email_field: '_username' |
| 39 | + # password_field: '_password' |
| 40 | + # roles: # map a scenario role name to its credentials |
| 41 | + # admin: { email: '%env(E2E_ADMIN_EMAIL)%', password: '%env(E2E_ADMIN_PASSWORD)%' } |
| 42 | + # user: { email: '%env(E2E_USER_EMAIL)%', password: '%env(E2E_USER_PASSWORD)%' } |
0 commit comments