Repository navigation
[3.0] e2e: wait for the Local Folder row after switching the sub folder project - #2362
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
…er project After choosing a folder, the select step waits for login and then until the PROJECT view's Local Folder row shows that folder. Both test bundles use the same target, so on the switch from nested1 to double/nested2 the Workspace connection row already read 'DEFAULT · for target dev_test', waitForLogin passed before the switch landed, and the next test's single read of the row still saw nested1. The new wait is on the row that test checks. Same fix as attempt 1, with the wait moved after waitForLogin: attempt 1's diff ended on a whitespace-only context line, which the controller's copy dropped (the 'corrupt patch' error); this diff ends on a code line and is unchanged by stripping trailing whitespace. Co-authored-by: Isaac <no-reply@databricks.com>
louis-johnston-db
temporarily deployed
to
test-trigger-is
November 30, 2026 09:49 — with
GitHub Actions
Inactive
louis-johnston-db
temporarily deployed
to
test-trigger-is
November 30, 2026 09:51 — 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
bundle_sub_folder.e2e.ts: after choosing the folder in the quick pick and waiting for login, wait until the Local Folder row shows the chosen folder (getLocalFolderTreeItem, 60 s timeout, polling every 2 s, as the same wait inbundle_init.e2e.ts).Both test bundles use the same target, so on the second switch (nested1 to double/nested2) the Workspace connection row reads
DEFAULT · for target dev_testboth before and after.waitForLoginpassed straight away, and the next test's single read of the Local Folder row could still seenested1. The test's assertion is unchanged.Tests
yarn test:e2e:spec bundle_sub_folderon the mock, as is.nested1untildouble/nested2appears.yarn typecheck, plusyarn oxfmtandyarn oxlint --deny-warningson the changed file.Evidence:
bundle_sub_folderfailed this way 6 times (windows), last on 2026-11-16; flaky because 4 Windows retries passed; passed on windows on the same commit 66d7aec (run 43830493881 attempt 2); passed on windows on the same commit 66d7aec (run 43830493881 attempt 1).src/bundle_sub_folder.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.