chore: use dynamic id (#7396)
- Follow up forgejo/forgejo#7378 - See https://codeberg.org/forgejo/forgejo/pulls/7378#issuecomment-3167157 Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7396 Reviewed-by: 0ko <0ko@noreply.codeberg.org> Reviewed-by: Otto <otto@codeberg.org> Co-authored-by: Gusted <postmaster@gusted.xyz> Co-committed-by: Gusted <postmaster@gusted.xyz>
This commit is contained in:
parent
5275fbd4ea
commit
3769259c93
1 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
|||
// @watch end
|
||||
|
||||
import {expect} from '@playwright/test';
|
||||
import {test, save_visual, test_context} from './utils_e2e.ts';
|
||||
import {test, save_visual, test_context, dynamic_id} from './utils_e2e.ts';
|
||||
|
||||
test.use({user: 'user2'});
|
||||
|
||||
|
@ -38,7 +38,7 @@ test('Migration Repo Name detection', async ({page}, workerInfo) => {
|
|||
test('Migration Progress Page', async ({page, browser}, workerInfo) => {
|
||||
test.skip(workerInfo.project.name === 'Mobile Safari', 'Flaky actionability checks on Mobile Safari');
|
||||
|
||||
const repoName = `invalidrepo-${globalThis.crypto.randomUUID()}`;
|
||||
const repoName = dynamic_id();
|
||||
expect((await page.goto(`/user2/${repoName}`))?.status(), 'repo should not exist yet').toBe(404);
|
||||
|
||||
await page.goto('/repo/migrate?service_type=1');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue