mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-04-17 03:01:35 +02:00
chore: ensure no existing storage state is used
This commit is contained in:
parent
05beb19733
commit
a2ee0c2b0f
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ test('Migration Progress Page', async ({page, browser}, workerInfo) => {
|
|||
await expect(page).toHaveURL(`user2/${repoName}`);
|
||||
await save_visual(page);
|
||||
|
||||
const ctx = await test_context(browser);
|
||||
const ctx = await test_context(browser, {storageState: {cookies: [], origins: []}});
|
||||
const unauthenticatedPage = await ctx.newPage();
|
||||
expect((await unauthenticatedPage.goto(`/user2/${repoName}`))?.status(), 'public migration page should be accessible').toBe(200);
|
||||
await expect(unauthenticatedPage.locator('#repo_migrating_progress')).toBeVisible();
|
||||
|
|
Loading…
Add table
Reference in a new issue