Skip to content

Commit 50d806a

Browse files
committed
Only mark the session when running separate sessions
1 parent 131a6a8 commit 50d806a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/RunsOnBrowserStack.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,8 @@ trait RunsOnBrowserStack
2828
protected function tearDown(): void
2929
{
3030
if ($this->hasActiveBrowserStackConnection()) {
31-
$this->updateBrowserStackSessionStatus();
32-
3331
if (config('browserstack.separate_sessions')) {
32+
$this->updateBrowserStackSessionStatus();
3433
static::closeAll();
3534
}
3635
}

0 commit comments

Comments
 (0)