Skip to content

Filename too long #671

@oleg-andreyev

Description

@oleg-andreyev

Sometimes if test case is big and too long screenshot may not be saved with following error:

Warning: file_put_contents(./var/error-screenshots/2025-04-01_17-31-36_failure_App-Tests-E2E-SignUp-SignUpTest__testSuccessfulSignup with data set "user without vat" (['SIA ATTA-1 SignupTest 2', 'SignUp', 'Test', 'request-an-account2@atta.lv', 'LV12345678912', 'Daugavgrīvas iela', '77', 'Rīga', 'LV', 'LV-1007', 'LV', '22084444', 'comment'], false)-0.png): Failed to open stream: Filename too long in /app/vendor-bin/phpunit/vendor/php-webdriver/webdriver/lib/Support/ScreenshotHelper.php on line 70

there was a ticket for that https://github.com/symfony/panther/pull/510/files but changes got lost or never merged

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions