Repository navigation
Fix failing Playwright tests in settings and user journey suites - #156
Merged
Merged
Conversation
- In settings-and-configuration.e2e.ts and user-journey.e2e.ts, replace unscoped DOM ID locators with accessible role- and label-based locators scoped to dialog elements, and assert explicit dialog visibility and dismissal to eliminate modal animation race conditions. - In user-journey.e2e.ts, initialize a static API key in localStorage for the invalid JSON editor test to satisfy the chat panel workspace prerequisite. TAG=agy CONV=3598e4aa-e259-4ddd-938f-0d0b440beee4
Contributor
There was a problem hiding this comment.
Code Review
This pull request refactors end-to-end tests in settings-and-configuration.e2e.ts and user-journey.e2e.ts to use robust role-based Playwright selectors and explicit visibility assertions for the Gemini API Key and Custom Renderer dialogs. Additionally, it initializes localStorage with a fake API key in one of the user journey tests. The reviewer suggests a more robust approach for bypassing the API key requirement by setting a2ui_composer_force_1p to 'true' instead of using a fake key.
Contributor
⚡ A2UI Composer PR PreviewYour automated preview is successfully live (commit
|
suyangw-g
approved these changes
Aug 7, 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.
Description
Pre-launch Checklist