Add Booking tests - Reschedule and Cancel. (#2163)
Co-authored-by: zomars <[email protected]>
This commit is contained in:
1 parent
367da36660
commit
1a77e4046e
5 files changed
+87
-11
No files matched your search
@@ -532,7 +532,10 @@ const BookingPage = ({ eventType, booking, profile }: BookingPageProps) => {
|
||||
/>
|
||||
</div>
|
||||
<div className="flex items-start space-x-2 rtl:space-x-reverse">
|
||||
<Button type="submit" loading={mutation.isLoading}>
|
||||
<Button
|
||||
type="submit"
|
||||
data-testid={rescheduleUid ? "confirm-reschedule-button" : "confirm-book-button"}
|
||||
loading={mutation.isLoading}>
|
||||
{rescheduleUid ? t("reschedule") : t("confirm")}
|
||||
</Button>
|
||||
<Button color="secondary" type="button" onClick={() => router.back()}>
|
||||
|
||||
Reference in new issue
Block a user