We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb03e75 commit e95c9c2Copy full SHA for e95c9c2
ui-tests/tests/jupyter_projspec.spec.ts
@@ -5,6 +5,9 @@ test('should activate and register the projspec sidebar panel', async ({
5
}) => {
6
// The extension registers a panel with id "projspec-panel" in the right sidebar.
7
// Verify the panel tab is present, which confirms the extension activated.
8
- const panelTab = page.locator('#tab-bar-projspec-panel');
+ // In JupyterLab 4 (Lumino 2), sidebar tabs use data-id attributes, not HTML id.
9
+ const panelTab = page.locator(
10
+ '.lm-TabBar.jp-SideBar .lm-TabBar-tab[data-id="projspec-panel"]'
11
+ );
12
await expect(panelTab).toHaveCount(1);
13
});
0 commit comments