Skip to content

Commit 4f29667

Browse files
committed
Quit Playwright Node.js server on cleanup
DESTROY closed the browser but not the handle, leaving the Node.js playwright_server process running after tests finished.
1 parent db2fe02 commit 4f29667

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/RT/Test/Playwright.pm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -958,6 +958,7 @@ sub DESTROY {
958958
$self->{page}->close() if $self->{page};
959959
$self->{context}->close() if $self->{context};
960960
$self->{browser}->close() if $self->{browser};
961+
$self->{handle}->quit() if $self->{handle};
961962
}
962963

963964
RT::Base->_ImportOverlays();

0 commit comments

Comments
 (0)