diff --git a/tests/integration/features/bootstrap/FeatureContext.php b/tests/integration/features/bootstrap/FeatureContext.php index 7ec86a5ac7d..a1bcbbdb9fe 100644 --- a/tests/integration/features/bootstrap/FeatureContext.php +++ b/tests/integration/features/bootstrap/FeatureContext.php @@ -281,7 +281,8 @@ public function userIsParticipantOfRooms(string $user, string $shouldOrder, stri $rooms = $this->getDataFromResponse($this->response); $rooms = array_filter($rooms, function ($room) { - return $room['type'] !== 4; + // Filter out "Talk updates" and "Note to self" conversations + return $room['type'] !== 4 && $room['type'] !== 6; }); if ($formData === null) { @@ -314,7 +315,8 @@ public function userListsBreakoutRooms(string $user, string $identifier, int $st $rooms = $this->getDataFromResponse($this->response); $rooms = array_filter($rooms, function ($room) { - return $room['type'] !== 4; + // Filter out "Talk updates" and "Note to self" conversations + return $room['type'] !== 4 && $room['type'] !== 6; }); if ($formData === null) { @@ -555,7 +557,8 @@ public function userIsParticipantOfRoom(string $user, string $isOrNotParticipant $rooms = $this->getDataFromResponse($this->response); $rooms = array_filter($rooms, function ($room) { - return $room['type'] !== 4; + // Filter out "Talk updates" and "Note to self" conversations + return $room['type'] !== 4 && $room['type'] !== 6; }); if ($isParticipant) {