fix(e2e): failsafe if no availabilities (#12168)

This commit is contained in:
Morgan authored and GitHub committed 2023-10-31 16:10:08 +00:00
1 parent 4de142cb7c
commit 58ab278813
2 files changed
+23 -9

No files matched your search

+1 -1
View File
@@ -95,7 +95,7 @@ const NoAvailabilityOverlay = ({
return (
<div className="bg-muted border-subtle absolute left-1/2 top-40 -mt-10 w-max -translate-x-1/2 -translate-y-1/2 transform rounded-md border p-8 shadow-sm">
<h4 className="text-emphasis mb-4 font-medium">{t("no_availability_in_month", { month: month })}</h4>
<Button onClick={nextMonthButton} color="primary" EndIcon={ArrowRight}>
<Button onClick={nextMonthButton} color="primary" EndIcon={ArrowRight} data-testid="view_next_month">
{t("view_next_month")}
</Button>
</div>