Skip to content

Commit 487adb8

Browse files
soumeh01Copilot
andauthored
Update src/e2e-tests/build.test.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent c3caa44 commit 487adb8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/e2e-tests/build.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,8 @@ test.describe('CMSIS Solution Build Validation', () => {
144144
await vsCodeDriver.page.openCmsisPanel();
145145
await vsCodeDriver.page.getCommands().runCommandFromPalette('CMSIS: Open Solution in Workspace');
146146
const firstWorkspaceItem = vsCodeDriver.page.getLocator('.quick-input-list .monaco-list-row').first();
147+
await firstWorkspaceItem.waitFor({ state: 'visible' });
148+
await expect(firstWorkspaceItem).toBeEnabled();
147149
await firstWorkspaceItem.click();
148150

149151
try {

0 commit comments

Comments
 (0)