Skip to content

Add dual-strategy navigation for E2E tests#101

Merged
mraible merged 3 commits intomainfrom
add-catalog-navigation-strategy
Apr 8, 2026
Merged

Add dual-strategy navigation for E2E tests#101
mraible merged 3 commits intomainfrom
add-catalog-navigation-strategy

Conversation

@mraible
Copy link
Copy Markdown
Contributor

@mraible mraible commented Apr 7, 2026

E2E tests now try the App Catalog "Open app" button first when navigating to the installed app. This is faster and more reliable than the Custom Apps sidebar menu, which sometimes requires multiple page refreshes before the app entry appears. If the catalog navigation encounters a 404 on the page entity endpoint (which happens when the service hasn't registered a newly deployed page yet), it automatically retries with page reloads. If the "Open app" button isn't available at all, the existing Custom Apps menu retry loop is used as a fallback.

This dual-strategy pattern with 404 retry was proven reliable in foundry-sample-logscale PR #26, and has passed 3 consecutive CI runs across all sample apps.

…tom Apps

The Custom Apps sidebar menu is flaky in CI, sometimes requiring multiple page
refreshes before the app appears. This adds a faster, more reliable primary
strategy that navigates to the App Catalog detail page and clicks the "Open app"
button. If that button isn't available, the existing Custom Apps menu retry
loop is used as a fallback. This matches the pattern proven in logscale PR #26.
@mraible mraible requested a review from a team April 7, 2026 17:28
BanuY
BanuY previously approved these changes Apr 7, 2026
…lick

After clicking "Open app" in the catalog, the /api2/ui-extensions/entities/pages/v1
endpoint sometimes returns 404 because the service hasn't registered the page yet.
This adds a response listener that detects the 404 and retries with page reload
up to 3 times, which resolves the intermittent navigation failures in CI.
@mraible mraible requested a review from a team April 7, 2026 21:27
The Falcon console now includes a Charlotte AI iframe on every page, causing Playwright's strict mode to fail when using the bare 'iframe' selector. Use iframe[name="portal"] to target the Foundry app iframe specifically.
@mraible mraible merged commit 09bf19d into main Apr 8, 2026
8 checks passed
@mraible mraible deleted the add-catalog-navigation-strategy branch April 8, 2026 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants