0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-02-22 15:25:05 +01:00

Rename test.gitea.io to e2e.gitea.com in e2e tests

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
silverwind 2026-02-16 00:58:10 +01:00
parent 2314ea3194
commit 76c0fff889
No known key found for this signature in database
GPG Key ID: 2E62B41C93869443
2 changed files with 4 additions and 4 deletions

View File

@ -24,7 +24,7 @@ test('register with empty fields shows error', async ({page}) => {
test('register with mismatched passwords shows error', async ({page}) => {
await page.getByLabel('Username').fill('e2e-register-mismatch');
await page.getByLabel('Email Address').fill('e2e-register-mismatch@test.gitea.io');
await page.getByLabel('Email Address').fill('e2e-register-mismatch@e2e.gitea.com');
await page.getByLabel('Password', {exact: true}).fill('password123!');
await page.getByLabel('Confirm Password').fill('different123!');
await page.getByRole('button', {name: 'Register Account'}).click();
@ -33,7 +33,7 @@ test('register with mismatched passwords shows error', async ({page}) => {
test('register then login', async ({page}) => {
const username = `e2e-register-${Date.now()}`;
const email = `${username}@test.gitea.io`;
const email = `${username}@e2e.gitea.com`;
const password = 'password123!';
await page.getByLabel('Username').fill(username);
@ -62,7 +62,7 @@ test('register then login', async ({page}) => {
test('register with existing username shows error', async ({page}) => {
await page.getByLabel('Username').fill('e2e');
await page.getByLabel('Email Address').fill('e2e-duplicate@test.gitea.io');
await page.getByLabel('Email Address').fill('e2e-duplicate@e2e.gitea.com');
await page.getByLabel('Password', {exact: true}).fill('password123!');
await page.getByLabel('Confirm Password').fill('password123!');
await page.getByRole('button', {name: 'Register Account'}).click();

View File

@ -69,7 +69,7 @@ done
# Create e2e test user if it does not already exist
E2E_USER="e2e"
E2E_EMAIL="e2e@test.gitea.io"
E2E_EMAIL="e2e@e2e.gitea.com"
E2E_PASSWORD="password"
if ! curl -sf --max-time 5 "$E2E_URL/api/v1/users/$E2E_USER" > /dev/null 2>&1; then
echo "Creating e2e test user..."