Skip to content

Commit 1f21f30

Browse files
authored
Remove leftover in ui test (#98)
1 parent 950112d commit 1f21f30

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

python/jupyterlab-collaborative-chat/ui-tests/tests/autocompletion.spec.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,12 @@ const exposeDepsJs = (deps: Record<string, (...args: any) => any>): string => {
2121
.join('\n');
2222
};
2323

24-
// The function running in browser context to get a plugin.
24+
/**
25+
* The function running in browser context to get a plugin.
26+
*
27+
* This function does the same as the equivalent in InPage galata helper, without the
28+
* constraint on the plugin id.
29+
*/
2530
const getPlugin = (pluginId: string): Promise<any> => {
2631
return new Promise((resolve, reject) => {
2732
const app = window.jupyterapp as any;
@@ -309,10 +314,8 @@ test('should use properties from autocompletion object', async ({ page }) => {
309314
});
310315

311316
test('single autocompletion should be the default', async ({ page }) => {
312-
await page.pause();
313317
await page.evaluate(
314318
async options => {
315-
console.log('YAYAYAYA');
316319
const registry = await window.getPlugin(
317320
'jupyterlab-collaborative-chat-extension:autocompletionRegistry'
318321
);

0 commit comments

Comments
 (0)