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
fix(vscode): scope render tab assertions to the editor tab
The render e2e tests asserted on the rendered model's tab title with a bare
text selector. Recent VS Code builds show the active editor's name in the
chat view as well, so the selector matches two elements and Playwright fails
with a strict mode violation:
locator('text=sushi.customers (rendered)') resolved to 2 elements:
1) <a class="label-name">sushi.customers (rendered)</a>
2) <span class="monaco-highlighted-label">sushi.customers (rendered)</span>
aka getByLabel('Enable current file context').locator('a')
Match the editor tab by role instead, which ignores the chat entry. Verified
against code-server 4.107.1 and 4.137.0.
Signed-off-by: Adegbite Ayoade <tripleaceme@gmail.com>
0 commit comments