Skip to content

Commit

Permalink
More robust accept test by more specific prefix
Browse files Browse the repository at this point in the history
This is because other tests run concurrently can
also populate IPython history with code which start with `s`.
  • Loading branch information
krassowski committed Dec 27, 2023
1 parent e06924c commit 95d53a7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions galata/test/jupyterlab/inline-completer.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@ test.describe('Inline Completer', () => {
});

test('Accepts suggestion on Tab', async ({ page }) => {
await page.keyboard.press('u');

await page.evaluate(async () => {
await window.jupyterapp.commands.execute('inline-completer:invoke');
});
Expand Down

0 comments on commit 95d53a7

Please sign in to comment.