AiPlaywright Page (or compatible subset with getByText()).
Visible title text of the FLP Space Tab.
Optionaloptions: SpaceNavigationOptionsNavigation options including timeout and exact match control.
Navigate to a specific Space Tab in the modern FLP layout. Use when the SAP FLP uses Space-based navigation (IconTabFilter tabs at the top).
The FLP must be loaded and use a Space/Section layout (BTP Work Zone or modern S/4HANA FLP).
Uses Playwright-native getByText() because sap.m.IconTabFilter
extends sap.ui.core.Item and does NOT have press(), firePress(),
fireSelect(), or fireTap() methods. The UI5-native strategy fallback
(getDomRef().click()) does NOT reliably switch Space Tabs.
Playwright DOM click is the ONLY reliable approach.
// Navigate to the "Procurement" space tab (exact match, default)
await navigateToSpace(page, 'Procurement');
// Navigate with partial match (e.g., "Procure" matches "Procurement")
await navigateToSpace(page, 'Procure', { exact: false });
// Navigate with custom timeout
await navigateToSpace(page, 'Procurement', { timeout: 15_000 });
Navigates to an FLP Space Tab by its visible title text.