Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dusk slows down after call to dump() #1095

Closed
damms005 opened this issue Mar 23, 2024 · 1 comment · Fixed by #1096
Closed

Dusk slows down after call to dump() #1095

damms005 opened this issue Mar 23, 2024 · 1 comment · Fixed by #1096

Comments

@damms005
Copy link

Dusk Version

8.0.0

Laravel Version

10.48.2

PHP Version

8.2.8

PHPUnit Version

10.5.12

Database Driver & Version

mysql Ver 8.0.32 for Linux on x86_64 (MySQL Community Server - GPL)

Description

In a Sail project, when a test is dump()'ed, subsequent test runs takes minutes to complete, instead of seconds as in the first run.

Steps To Reproduce

Test code should look like the following

public function testExample(): void
{
    $this->browse(function (Browser $browser) {
        $browser->visit('/')
            ->dump('Laravel');
    });
}

On first test run, output should be similar to below:


@driesvints
Copy link
Member

Thanks! @crynobone has sent in a PR to address this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants