You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
534 B
15 lines
534 B
import { test, expect } from "@playwright/test";
|
|
|
|
test.describe("import flow e2e", () => {
|
|
test("login → mails list → open M2", async ({ page }) => {
|
|
await page.goto("/login");
|
|
await page.getByLabel(/用户名|Username/i).fill("admin");
|
|
await page.getByLabel(/密码|Password/i).fill("admin123");
|
|
await page.getByRole("button", { name: /登录/ }).click();
|
|
await expect(page).toHaveURL(/\/mails/);
|
|
await expect(page.getByText(/MATU2745683|转仓/)).toBeVisible({
|
|
timeout: 15_000,
|
|
});
|
|
});
|
|
});
|