Repository navigation
[3.0] e2e: read the workspace row's description from the DOM, not visible text - #2365
Open
louis-johnston-db wants to merge 1 commit into
Open
louis-johnston-db wants to merge 1 commit into
louis-johnston-db wants to merge 1 commit into
Conversation
…ible text waitForLogin and waitForWorkspaceConnection read the Workspace connection row's description as WebDriver visible text. After the spec selects that row, VS Code's inline actions can clip the description fully out of view, so the read returned "" even after the profile switch had finished. The helpers now read the description span's textContent, which doesn't depend on whether the span is clipped. They still wait for the same profile text. Co-authored-by: Isaac <no-reply@databricks.com>
louis-johnston-db
temporarily deployed
to
test-trigger-is
November 30, 2026 09:50 — with
GitHub Actions
Inactive
louis-johnston-db
temporarily deployed
to
test-trigger-is
November 30, 2026 09:52 — with
GitHub Actions
Inactive
louis-johnston-db
temporarily deployed
to
test-trigger-is
November 30, 2026 09:52 — with
GitHub Actions
Inactive
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.
Changes
src/utils/configuration.ts: a newworkspaceConnectionDescription()reads the Workspace connection row's description from itstextContent, not fromgetDescription()(visible text). On a selected row, the inline actions can clip the description out of view, and the visible text is then empty.waitForLoginandwaitForWorkspaceConnectionuse it. They wait for the same values as before.Tests
yarn test:e2e:spec authon the mock, repeated, with no added latency (the setup where the flake showed).yarn oxfmt --checkon the changed file, andyarn typecheck.Evidence:
authpassed 6 of 10 stress runs at 2484c2a.src/auth.e2e.ts): failed 10 of 10 runs without the fix, 0 of 10 with it.yarn checkandyarn typecheck: passed.This pull request and its description were written by Isaac.