diff --git a/python/jupyterlab-collaborative-chat/ui-tests/tests/autocompletion.spec.ts b/python/jupyterlab-collaborative-chat/ui-tests/tests/autocompletion.spec.ts index 97b8c95..634c300 100644 --- a/python/jupyterlab-collaborative-chat/ui-tests/tests/autocompletion.spec.ts +++ b/python/jupyterlab-collaborative-chat/ui-tests/tests/autocompletion.spec.ts @@ -21,7 +21,12 @@ const exposeDepsJs = (deps: Record any>): string => { .join('\n'); }; -// The function running in browser context to get a plugin. +/** + * The function running in browser context to get a plugin. + * + * This function does the same as the equivalent in InPage galata helper, without the + * constraint on the plugin id. + */ const getPlugin = (pluginId: string): Promise => { return new Promise((resolve, reject) => { const app = window.jupyterapp as any; @@ -309,10 +314,8 @@ test('should use properties from autocompletion object', async ({ page }) => { }); test('single autocompletion should be the default', async ({ page }) => { - await page.pause(); await page.evaluate( async options => { - console.log('YAYAYAYA'); const registry = await window.getPlugin( 'jupyterlab-collaborative-chat-extension:autocompletionRegistry' );