Add dual-strategy navigation for E2E tests#101
Merged
Conversation
…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.
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.
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.
BanuY
approved these changes
Apr 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.