notebook/ui-tests/test/fixtures.ts
2021-11-08 10:00:50 +01:00

11 lines
297 B
TypeScript

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);
}
});