|
|
@ -81,9 +81,10 @@ const setup = async ({ page, isEmptyProject }: { page: Page; isEmptyProject?: bo |
|
|
|
|
|
|
|
|
|
|
|
await page.goto(`/#/nc/${project.id}/auth`); |
|
|
|
await page.goto(`/#/nc/${project.id}/auth`); |
|
|
|
|
|
|
|
|
|
|
|
await page.waitForResponse( |
|
|
|
// await page.waitForResponse(
|
|
|
|
resp => resp.url().includes(`api/v1/db/meta/projects/${project.id}/users`) && resp.status() === 200 |
|
|
|
// resp => resp.url().includes(`api/v1/db/meta/projects/${project.id}/users`) && resp.status() === 200
|
|
|
|
); |
|
|
|
// );
|
|
|
|
|
|
|
|
await page.waitForTimeout(500); |
|
|
|
|
|
|
|
|
|
|
|
return { project, token, dbType, workerId } as NcContext; |
|
|
|
return { project, token, dbType, workerId } as NcContext; |
|
|
|
}; |
|
|
|
}; |
|
|
|