Praman — Agent-First SAP UI5 Test Automation Plugin - v1.2.0
    Preparing search index...

    Function navigateToSectionLink

    • Ai

      Navigates via an FLP Section Link in a Space-based layout.

      Parameters

      • page: SpaceNavigationPage

        Playwright Page (or compatible subset with getByRole()).

      • linkName: string

        Accessible name (visible text) of the section link.

      • Optionaloptions: SectionLinkNavigationOptions

        Navigation options including timeout.

      Returns Promise<void>

      ui5Navigation.navigateToApp

      Click a section link within a Space to navigate to a specific area. Use after navigating to a Space when the target content is in a specific section.

      On success, the section link is clicked and UI5 stability is reached.

      A Space must be active and the section link must be visible in the current FLP view.

      Uses Playwright-native getByRole('link') to locate the section link by its accessible name. Section links in FLP are standard HTML anchor elements, not UI5 controls, so Playwright-native interaction is the correct approach.

      sap.ushell — FLP section-based navigation within Spaces

      Navigate within FLP Space sections in modern SAP BTP Work Zone layouts.

      NavigationError if linkName is empty.

      // Navigate to a section link within the current space
      await navigateToSectionLink(page, 'Purchase Orders');

      // Navigate with custom timeout
      await navigateToSectionLink(page, 'Manage Suppliers', { timeout: 10_000 });