增加 移动端 注册页

This commit is contained in:
yourname
2025-05-08 12:25:51 +00:00
parent dac58a7734
commit d97690dda9
5 changed files with 224 additions and 1 deletions

View File

@@ -0,0 +1,24 @@
import { test } from '@playwright/test';
import { expect } from '@playwright/test';
test('移动端注册测试', async ({ page, context }) => {
// Navigate to URL
await page.goto('https://pre-117-77-template.r.d8d.fun/mobile/register');
// Fill input field
await page.fill('#username', 'testuser');
// Fill input field
await page.fill('#email', 'testuser@example.com');
// Fill input field
await page.fill('#password', 'Test1234!');
// Fill input field
await page.fill('#confirmPassword', 'Test1234!');
// Click element
await page.click('button[type='submit']');
});