You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am building E2E tests for the Salesforce Extensions for VSCode. In one of my E2E tests, I want to check the titles of the open tabs in Editor View. I noticed that if one or more of those open tabs is a diff editor, I am able to use neither getActiveTab() nor getOpenEditorTitles() to check the titles without the test failing.
Steps to reproduce
getActiveTab(): https://github.com/forcedotcom/salesforcedx-vscode-automation-tests-redhat/pull/42/commits/a06b65d8496b1f7cc986d437e773e4c7714874d6 - 'L' is able to be printed but 'M' is not.
getOpenTabs(): https://github.com/forcedotcom/salesforcedx-vscode-automation-tests-redhat/pull/42/commits/f26f0b52460db6f8072f6896b407b64e5160f575 - 'L' is able to be printed but 'M' is not.
Logs
https://github.com/forcedotcom/salesforcedx-vscode/actions/runs/13926699286/job/38973040093
From that log you can see two sections that print up to 'L'.
Operating System
Ubuntu 24.04.2
Visual Studio Code
1.98.2
vscode-extension-tester
^8.8.1
NodeJS
20.17.0
npm
10.8.2
The text was updated successfully, but these errors were encountered:
daphne-sfdc
changed the title
[🚫 Bug] getActiveTab() getOpenTabs() functions in EditorView.ts do not work on diff editors
[🚫 Bug] getActiveTab() and getOpenTabs() functions in EditorView.ts do not work on diff editors
Mar 27, 2025
Describe the bug
I am building E2E tests for the Salesforce Extensions for VSCode. In one of my E2E tests, I want to check the titles of the open tabs in Editor View. I noticed that if one or more of those open tabs is a diff editor, I am able to use neither
getActiveTab()
norgetOpenEditorTitles()
to check the titles without the test failing.Steps to reproduce
Logs
https://github.com/forcedotcom/salesforcedx-vscode/actions/runs/13926699286/job/38973040093 From that log you can see two sections that print up to 'L'.
Operating System
Ubuntu 24.04.2
Visual Studio Code
1.98.2
vscode-extension-tester
^8.8.1
NodeJS
20.17.0
npm
10.8.2
The text was updated successfully, but these errors were encountered: