Repository navigation
Backport Posit Assistant e2e fixes to rel-autumn-hawkbit - #18792
Merged
gtritchie merged 3 commits intoSep 12, 2026
Merged
Conversation
PA 1.4.0 (#2395) added a per-turn footer that carries data-message-id and renders after the message row, so messageItem.last() resolved to a cost and timing row reading "8:54 PM" instead of the reply. Every chat test that asserts on the last message failed on all three platforms, and the dead-turn detector read those footers as non-substantive, reporting them as the provider dropping turns mid-stream. Match the ChatMessage row wrapper and the MessageRenderer content div instead, so the locator tracks what a message is rather than what shares its id. The matched set is unchanged against the currently released assistant, so the suite runs against both it and the pre-release builds the gate exercises. Route the two inline [data-message-id] locators in conversation-history through the page object so there is one definition to keep correct. (cherry picked from commit 9bae5ac)
Posit Assistant 1.4.0 began prefixing every tool-call caption with U+200E (LEFT-TO-RIGHT MARK) so that an rtl-truncated file path keeps its leading slash on the left, in posit-dev/assistant d6d3901e7. JavaScript's \s character class spans \u2000-\u200a and so does not match U+200E. The assertion therefore failed against a rendered string that is visually identical to what it expected, deterministically on Windows, Linux and macOS in the 1.4.1 release gate. Match the mark explicitly. The class also accepts the bare whitespace that 1.3.1 and earlier emit, so the test passes against both released versions. (cherry picked from commit 904450a)
A slow redirect after submitting the password on login.posit.cloud was classified as a credential failure (the step was marked fatal), which failed the auth setup project and left every dependent test as "did not run". Click with noWaitAfter so the 30s URL wait owns that budget instead of the runner's 10s actionTimeout, and only treat the step as fatal when the page actually shows a rejection message; a stalled redirect now falls through to the transient path and the @ai tests skip. Also give the readline-notification test the same settle window the rest of the suite gives an assistant turn (the agent keeps working after readline() returns), size its timeout for two turns, and spell out in the prompt that the code must be run with the executeCode tool rather than written to a file. (cherry picked from commit 2309310)
gtritchie
temporarily deployed
to
e2e-playwright
September 11, 2026 21:34 — with
GitHub Actions
Inactive
gtritchie
temporarily deployed
to
e2e-playwright
September 11, 2026 21:34 — with
GitHub Actions
Inactive
gtritchie
temporarily deployed
to
e2e-playwright
September 11, 2026 21:34 — with
GitHub Actions
Inactive
gtritchie
temporarily deployed
to
e2e-playwright
September 11, 2026 21:34 — with
GitHub Actions
Inactive
gtritchie
temporarily deployed
to
e2e-playwright
September 11, 2026 21:57 — with
GitHub Actions
Inactive
gtritchie
temporarily deployed
to
e2e-playwright
September 11, 2026 21:57 — with
GitHub Actions
Inactive
gtritchie
temporarily deployed
to
e2e-playwright
September 11, 2026 22:02 — with
GitHub Actions
Inactive
gtritchie
temporarily deployed
to
e2e-playwright
September 11, 2026 22:02 — with
GitHub Actions
Inactive
gtritchie
temporarily deployed
to
e2e-playwright
September 11, 2026 22:02 — with
GitHub Actions
Inactive
gtritchie
temporarily deployed
to
e2e-playwright
September 11, 2026 22:02 — with
GitHub Actions
Inactive
gtritchie
temporarily deployed
to
e2e-playwright
September 11, 2026 22:02 — with
GitHub Actions
Inactive
gtritchie
temporarily deployed
to
e2e-playwright
September 11, 2026 22:02 — with
GitHub Actions
Inactive
RStudio E2E - all platformsAll tests passed!
View / download the full reportView report online -- opens in the browser, no download needed. Available for 14 days. Download playwright-report.zip -- extract and open
All platforms - commit |
This branch was previously deployed
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.
Backports three e2e-only commits from
main. The release branch's test runsinstall the latest Posit Assistant release, so without these the Posit
Assistant suite fails on 1.4.0 and later.
9bae5ac43fMatch chat messages by role testid, notdata-message-id(Match chat messages by role testid, not data-message-id #18781).PA 1.4.0 added a per-turn footer that carries
data-message-idand rendersafter the message row, so
messageItem.last()resolved to a cost and timingrow instead of the reply. Matches the
ChatMessagerow wrapper and theMessageRenderercontent div instead, and routes the two inline[data-message-id]locators inconversation-historythrough the page object.904450a2c7Tolerate U+200E in the skill-selection e2e assertion (Tolerate U+200E in the skill-selection e2e assertion #18782).PA 1.4.0 prefixes every tool-call caption with LEFT-TO-RIGHT MARK, which
JavaScript's
\sclass does not match, so the assertion failed against arendered string that is visually identical to what it expected. The character
class also accepts the bare whitespace 1.3.1 and earlier emit.
230931063eKeep a slow Posit AI sign-in from failing the whole shard (e2e: keep a slow posit ai sign-in from failing the whole shard #18780).A slow redirect after submitting the password was classified as a credential
failure, which failed the auth setup project and left every dependent test as
"did not run". Clicks with
noWaitAfterso the 30s URL wait owns that budget,and treats the step as fatal only when the page shows a rejection message.
Also widens the readline-notification test's settle window and has its prompt
require the
executeCodetool.The first two match against both the currently released assistant and 1.4.0+,
so the suite passes whichever version a build pulls.
Cherry-picked clean with no conflicts.
npm run typecheckpasses ine2e/rstudio, andplaywright test --listenumerates all 84 Posit Assistanttests.