Skip to content

Commit 92872e5

Browse files
committed
minor #2873 [Tests] Fix functional tests Turbo (Kocal)
This PR was squashed before being merged into the 2.x branch. Discussion ---------- [Tests] Fix functional tests Turbo | Q | A | ------------- | --- | Bug fix? | no | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Docs? | no <!-- required for new features --> | Issues | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead --> | License | MIT Maybe I went to quick on #2867, maybe using `<server>` instead of `<env>` matters... **EDIT:** it seems that Turbo functional tests were broken since few weeks / months now, because of Chrome 137, see symfony/panther#675. Passing `PANTHER_DEVTOOLS=0` worked like a charm. Commits ------- 9b42f13 [Tests] Fix functional tests Turbo
2 parents ed37089 + 9b42f13 commit 92872e5

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.github/workflows/functional-tests.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@ jobs:
5656
php-version: ${{ matrix.php-version }}
5757
tools: flex
5858

59+
- name: Install root dependencies
60+
run: composer install
61+
62+
- name: Build root packages
63+
run: php .github/build-packages.php
64+
5965
- name: Install dependencies with composer
6066
working-directory: src/Turbo
6167
run: |

src/Turbo/phpunit.xml.dist

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,11 @@
1212
<ini name="error_reporting" value="-1"/>
1313
<env name="SHELL_VERBOSITY" value="-1"/>
1414
<env name="SYMFONY_DEPRECATIONS_HELPER" value="max[self]=0&amp;max[direct]=0"/>
15+
<env name="APP_ENV" value="test" force="true" />
16+
<env name="APP_DEBUG" value="true" force="true" />
1517
<env name="KERNEL_CLASS" value="App\Kernel"/>
16-
<env name="PANTHER_WEB_SERVER_DIR" value="./tests/app/public"/>
18+
<server name="PANTHER_WEB_SERVER_DIR" value="./tests/app/public"/>
19+
<server name="PANTHER_DEVTOOLS" value="0"/>
1720
</php>
1821

1922
<testsuites>

0 commit comments

Comments
 (0)