Skip to content

Commit

Permalink
fix: wait for nx console viewcontrol (#1368)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxKless authored Sep 28, 2022
1 parent 4ae5f21 commit f029c23
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/vscode-e2e/specs/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ export function getTestWorkspacePath() {
export async function openNxConsoleViewContainer() {
const workbench = await browser.getWorkbench();
await workbench.wait();
await browser.waitUntil(async () => {
return await !!workbench.getActivityBar().getViewControl('Nx Console');
});
const nxActivityBaritem = await workbench
.getActivityBar()
.getViewControl('Nx Console');
Expand Down

0 comments on commit f029c23

Please sign in to comment.