chore: ensure no existing storage state is used

This commit is contained in:
Gusted 2025-03-29 21:07:24 +01:00
parent 05beb19733
commit a2ee0c2b0f
No known key found for this signature in database
GPG key ID: FD821B732837125F

View file

@ -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();