Files
E2E-Test/test-1.spec.ts
2025-11-04 16:29:07 +08:00

11 lines
562 B
TypeScript

import { test, expect } from '@playwright/test';
test('test', async ({ page }) => {
await page.goto('prodream.cn/en');
await page.getByRole('button', { name: 'Log in' }).click();
await page.getByRole('textbox', { name: 'Email Address' }).click();
await page.getByRole('textbox', { name: 'Email Address' }).fill('prodream.admin@applify.ai');
await page.getByRole('textbox', { name: 'Psssword' }).click();
await page.getByRole('textbox', { name: 'Psssword' }).fill('b9#0!;+{Tx4649op');
await page.getByRole('button', { name: 'Log in' }).click();
});