Skip to content

Commit 3769259

Browse files
GustedGusted
authored andcommitted
chore: use dynamic id (go-gitea#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 <[email protected]> Reviewed-by: Otto <[email protected]> Co-authored-by: Gusted <[email protected]> Co-committed-by: Gusted <[email protected]>
1 parent 5275fbd commit 3769259

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/e2e/repo-migrate.test.e2e.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// @watch end
44

55
import {expect} from '@playwright/test';
6-
import {test, save_visual, test_context} from './utils_e2e.ts';
6+
import {test, save_visual, test_context, dynamic_id} from './utils_e2e.ts';
77

88
test.use({user: 'user2'});
99

@@ -38,7 +38,7 @@ test('Migration Repo Name detection', async ({page}, workerInfo) => {
3838
test('Migration Progress Page', async ({page, browser}, workerInfo) => {
3939
test.skip(workerInfo.project.name === 'Mobile Safari', 'Flaky actionability checks on Mobile Safari');
4040

41-
const repoName = `invalidrepo-${globalThis.crypto.randomUUID()}`;
41+
const repoName = dynamic_id();
4242
expect((await page.goto(`/user2/${repoName}`))?.status(), 'repo should not exist yet').toBe(404);
4343

4444
await page.goto('/repo/migrate?service_type=1');

0 commit comments

Comments
 (0)