Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove leftover in ui test #98

Merged
merged 1 commit into from
Nov 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,12 @@ const exposeDepsJs = (deps: Record<string, (...args: any) => 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<any> => {
return new Promise((resolve, reject) => {
const app = window.jupyterapp as any;
Expand Down Expand Up @@ -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'
);
Expand Down
Loading