build(deps): bump the mui group across 1 directory with 2 updates (#6301)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Anthony Stirling <[email protected]>
This commit is contained in:
dependabot[bot]
2026-05-05 10:53:16 +01:00
committed by GitHub
co-authored by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Anthony Stirling
parent d8519a6517
commit 4ab7d3b3ae
12 changed files with 82 additions and 66 deletions
@@ -8,7 +8,7 @@ import React, {
import { ActionIcon, CheckboxIndicator } from "@mantine/core";
import { useTranslation } from "react-i18next";
import MoreVertIcon from "@mui/icons-material/MoreVert";
import DeleteOutlineIcon from "@mui/icons-material/DeleteOutline";
import DeleteOutlineIcon from "@mui/icons-material/DeleteOutlined";
import PushPinIcon from "@mui/icons-material/PushPin";
import PushPinOutlinedIcon from "@mui/icons-material/PushPinOutlined";
import DragIndicatorIcon from "@mui/icons-material/DragIndicator";
@@ -3,8 +3,8 @@ import { Modal, Text, Button, Group, Stack } from "@mantine/core";
import { useNavigationGuard } from "@app/contexts/NavigationContext";
import { useTranslation } from "react-i18next";
import ArrowBackIcon from "@mui/icons-material/ArrowBack";
import DeleteOutlineIcon from "@mui/icons-material/DeleteOutline";
import CheckCircleOutlineIcon from "@mui/icons-material/CheckCircleOutline";
import DeleteOutlineIcon from "@mui/icons-material/DeleteOutlined";
import CheckCircleOutlineIcon from "@mui/icons-material/CheckCircleOutlined";
import { Z_INDEX_TOAST } from "@app/styles/zIndex";
const NavigationWarningModal = () => {
@@ -1,7 +1,7 @@
import { Modal, Text, Button, Group, Stack } from "@mantine/core";
import { useTranslation } from "react-i18next";
import WarningAmberIcon from "@mui/icons-material/WarningAmber";
import CheckCircleOutlineIcon from "@mui/icons-material/CheckCircleOutline";
import CheckCircleOutlineIcon from "@mui/icons-material/CheckCircleOutlined";
import CancelIcon from "@mui/icons-material/Cancel";
import { CSSProperties } from "react";
@@ -1,6 +1,6 @@
import { useTranslation } from "react-i18next";
import { Title, Stack, Divider } from "@mantine/core";
import AddCircleOutline from "@mui/icons-material/AddCircleOutline";
import AddCircleOutline from "@mui/icons-material/AddCircleOutlined";
import SettingsIcon from "@mui/icons-material/Settings";
import AutomationEntry from "@app/components/tools/automate/AutomationEntry";
import { useSuggestedAutomations } from "@app/hooks/tools/automate/useSuggestedAutomations";
@@ -3,7 +3,7 @@ import { useTranslation } from "react-i18next";
import { Text, Stack, Group, ActionIcon } from "@mantine/core";
import SettingsIcon from "@mui/icons-material/Settings";
import CloseIcon from "@mui/icons-material/Close";
import AddCircleOutline from "@mui/icons-material/AddCircleOutline";
import AddCircleOutline from "@mui/icons-material/AddCircleOutlined";
import { AutomationTool } from "@app/types/automation";
import { ToolRegistry } from "@app/data/toolsTaxonomy";
import { ToolId } from "@app/types/toolId";
@@ -22,7 +22,7 @@ import ImageIcon from "@mui/icons-material/Image";
import OpenWithIcon from "@mui/icons-material/OpenWith";
import TextFieldsIcon from "@mui/icons-material/TextFields";
import CloseIcon from "@mui/icons-material/Close";
import DeleteOutlineIcon from "@mui/icons-material/DeleteOutline";
import DeleteOutlineIcon from "@mui/icons-material/DeleteOutlined";
import CheckIcon from "@mui/icons-material/Check";
import {
@@ -45,16 +45,27 @@ async function uploadIntoSlot(
timeout: 5000,
});
await page.locator('[data-testid="file-input"]').setInputFiles(filePath);
await page.waitForSelector(".mantine-Modal-overlay", {
state: "hidden",
timeout: 10000,
});
// The slot becoming filled is the user-visible outcome we actually care
// about. Don't gate on the modal-overlay close animation — Mantine 9's
// Modal can leave the overlay element mounted briefly while transitioning,
// which races with successive uploads in this test and produces flaky
// 10s timeouts. The slot fill assertion below covers the same intent and
// implies the upload completed.
const slot = page.locator(`[data-testid="compare-slot-${role}"]`);
await expect(slot).toHaveAttribute("data-slot-state", "filled", {
timeout: 10000,
timeout: 15000,
});
await expect(slot).toHaveAttribute("data-slot-filename", expectedFilename);
// Wait for the modal overlay to be fully gone before the next interaction
// so click targets in subsequent uploads aren't intercepted.
await page
.locator(".mantine-Modal-overlay")
.waitFor({ state: "detached", timeout: 5000 })
.catch(() => {
/* if it's detached or re-detached during teardown, that's fine */
});
}
test.describe("Compare tool slot selection", () => {
@@ -174,13 +174,18 @@ test.describe("Encrypted PDF Unlock Modal", () => {
},
]);
await expect(page.getByText(MODAL_TITLE)).toBeVisible({ timeout: 10000 });
await expect(page.getByText(MODAL_TITLE)).toBeVisible({ timeout: 15000 });
// The "Use for all" affordance only appears once BOTH files have been
// detected as encrypted. PDF.js encryption probing runs per-file and
// can lag the modal opening (which fires as soon as the first file
// surfaces a password prompt). A 10s timeout was occasionally too tight
// on heavily-loaded CI runners — bump to 20s.
const unlockAllBtn = page.getByRole("button", { name: /Use for all/ });
await expect(unlockAllBtn).toBeVisible({ timeout: 10000 });
await expect(unlockAllBtn).toBeVisible({ timeout: 20000 });
await page.getByPlaceholder(PASSWORD_PLACEHOLDER).fill("testpass123");
await unlockAllBtn.click();
await expect(page.getByText(MODAL_TITLE)).toBeHidden({ timeout: 10000 });
await expect(page.getByText(MODAL_TITLE)).toBeHidden({ timeout: 15000 });
});
});
@@ -9,7 +9,7 @@ import {
Flex,
} from "@mantine/core";
import RefreshIcon from "@mui/icons-material/Refresh";
import ErrorOutlineIcon from "@mui/icons-material/ErrorOutline";
import ErrorOutlineIcon from "@mui/icons-material/ErrorOutlined";
import AccessTimeIcon from "@mui/icons-material/AccessTime";
import { useTranslation } from "react-i18next";
import { useSaaSBilling } from "@app/contexts/SaasBillingContext";
@@ -22,7 +22,7 @@ import {
List,
} from "@mantine/core";
import SendIcon from "@mui/icons-material/Send";
import ChatBubbleOutlineIcon from "@mui/icons-material/ChatBubbleOutline";
import ChatBubbleOutlineIcon from "@mui/icons-material/ChatBubbleOutlined";
import CloseIcon from "@mui/icons-material/Close";
import ExpandMoreIcon from "@mui/icons-material/ExpandMore";
import ExpandLessIcon from "@mui/icons-material/ExpandLess";