feat(FN-3346): update mobile settings label assertion
Updates a single assertion in the mobile settings test to match the updated settings label. Fusion-Task-Id: FN-3346
This commit is contained in:
@@ -218,7 +218,7 @@ const SETTINGS_SECTIONS: SettingsSection[] = [
|
||||
|
||||
// Project group (specific to this project)
|
||||
{ id: "__project_header", label: "Project", scope: undefined, isGroupHeader: true },
|
||||
{ id: "general", label: "General", scope: "project" },
|
||||
{ id: "general", label: "Project General", scope: "project" },
|
||||
{ id: "project-models", label: "Project Models", scope: "project" },
|
||||
{ id: "scheduling", label: "Scheduling", scope: "project" },
|
||||
{ id: "node-routing", label: "Node Routing", scope: "project" },
|
||||
|
||||
@@ -266,7 +266,7 @@ describe("SettingsModal mobile adaptations", () => {
|
||||
|
||||
// Authentication is first with no scope banner by default - click the Project-scoped General section
|
||||
expect(container.querySelectorAll(".settings-scope-icon").length).toBeGreaterThan(0);
|
||||
await user.click(getAllByText("General")[1]);
|
||||
await user.click(getByText("Project General"));
|
||||
|
||||
// Verify project scope banner contains icon elements (SVG from Lucide, not emoji)
|
||||
const projectBanner = container.querySelector(".settings-scope-project");
|
||||
|
||||
Reference in New Issue
Block a user