notebook/ui-tests/test/fixtures.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
297 B
TypeScript
Raw Normal View History

2021-11-08 05:53:56 +08:00
import { test as base } from '@jupyterlab/galata';
export const test = base.extend({
waitForApplication: async ({ baseURL }, use, testInfo) => {
const waitIsReady = async (page): Promise<void> => {
await page.waitForSelector('#main-panel');
};
await use(waitIsReady);
}
});