Skip to content

Studio tests: data settings driver expects the named single-chat delete for one archived result - #16401

Merged
danielhanchen merged 1 commit into
mainfrom
data-settings-driver-single-archived-delete
Nov 1, 2026
Merged

danielhanchen merged 1 commit into
mainfrom
data-settings-driver-single-archived-delete

Conversation

@danielhanchen

Copy link
Copy Markdown
Member

Summary

Frontend build + bundle sanity (Linux) and Frontend unit tests (Windows) fail on PRs based on current main. Staging CI shows it for #16109, #16110 and #16112, all in the data_settings Playwright driver:

File "tests/studio/playwright_data_settings.py", line 705, in run_library_locales
AssertionError: Locator expected to contain text 'This permanently deletes 1 archived chats and their messages. This cannot be undone.'
Actual value: Delete chatThis permanently deletes "Sample 0" and its messages. This cannot be undone. ...

#16390 (4726a1c1b8) changed the archived chats dialog on purpose. When exactly one chat is selected, it now shows the single-chat description, which names the chat (shell.dialog.deleteChat.description), instead of "1 archived chats". Its description lists this ("Archived chats: one chat (now names the chat instead of reading "1 archived chats")"). The driver still expected the bulk wording with {count} = 1.

Change

run_library_locales now also reads shell.dialog.deleteChat.description from each locale's catalog. For the one-result delete, it expects that string with {name} = Sample 0, the one archived chat left after the No project filter.

Testing

On this host, Chromium, same frontend tree, python tests/studio/playwright_data_settings.py:

  • main's driver: exit 1 with the same AssertionError as CI;
  • this branch: exit 0, chromium: 183 Data settings checks passed, across all 12 locales the driver walks.

@danielhanchen

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-01T13:12:52.258569Z fc407cc Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🚀

Reviewed commit: fc407ccade

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@danielhanchen
danielhanchen merged commit 5eb2c26 into main Nov 1, 2026
@danielhanchen
danielhanchen deleted the data-settings-driver-single-archived-delete branch November 1, 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.

1 participant