Scheduling infrastructure for absolutely everyone.
fix: add deterministic ordering to attendee queries in booking-seats e2e tests (#28672)
Romit96d78a03d23f
diff --git a/apps/web/playwright/booking-seats.e2e.ts b/apps/web/playwright/booking-seats.e2e.tsindex a56355a67cf..8b74780610b 100644--- a/apps/web/playwright/booking-seats.e2e.ts+++ b/apps/web/playwright/booking-seats.e2e.ts@@ -1,10 +1,8 @@-import { expect } from "@playwright/test";-import { v4 as uuidv4 } from "uuid";-import { randomString } from "@calcom/lib/random";import prisma from "@calcom/prisma";import { BookingStatus } from "@calcom/prisma/enums";-+import { expect } from "@playwright/test";+import { v4 as uuidv4 } from "uuid";import { test } from "./lib/fixtures";import {confirmReschedule,@@ -43,6 +41,7 @@ test.describe("Booking with Seats", () => {name: true,email: true,},+ orderBy: { email: "asc" },});const bookingSeats = bookingAttendees.map((attendee) => ({@@ -136,6 +135,7 @@ test.describe("Reschedule for booking with seats", () => {name: true,email: true,},+ orderBy: { email: "asc" },});const bookingSeats = bookingAttendees.map((attendee) => ({@@ -203,6 +203,7 @@ test.describe("Reschedule for booking with seats", () => {name: true,email: true,},+ orderBy: { email: "asc" },});const bookingSeats = bookingAttendees.map((attendee) => ({@@ -282,6 +283,7 @@ test.describe("Reschedule for booking with seats", () => {name: true,email: true,},+ orderBy: { email: "asc" },});const bookingSeats = bookingAttendees.map((attendee) => ({@@ -475,6 +477,7 @@ test.describe("Reschedule for booking with seats", () => {name: true,email: true,},+ orderBy: { email: "asc" },});const bookingSeats = bookingAttendees.map((attendee) => ({@@ -522,6 +525,7 @@ test.describe("Reschedule for booking with seats", () => {name: true,email: true,},+ orderBy: { email: "asc" },});const bookingSeats = bookingAttendees.map((attendee) => ({