Skip to content

Commit 3f6076d

Browse files
netpyne-101 open control panel step
1 parent de103cb commit 3f6076d

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

tests/frontend/e2e/tests/ControlPanel.test.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,5 +128,22 @@ describe('Test for the Control Panel - color picker', () => {
128128
});
129129
})
130130

131+
it('Open Color Picker Menu', async () => {
132+
133+
console.log('Opening Control Panel')
134+
135+
await page.waitForSelector('div[title="Control Panel"]')
136+
137+
await page.click('div[title="Control Panel"]')
138+
139+
await page.waitForSelector('ul[role="tree"]')
140+
141+
const network_items = (await page.$$('li[role="treeitem"]')).length;
142+
await expect(network_items).toEqual(3)
143+
144+
console.log('Control Panel displayed successfully')
145+
146+
})
147+
131148

132149
});

0 commit comments

Comments
 (0)