chore: publish clean community baseline
Deploy / deploy (push) Failing after 9s
CI / Rust Checks (push) Successful in 5m4s
CI / UI Checks (push) Failing after 5s
CI / Frontend E2E (push) Has been skipped
CI / Deployment Manifests (push) Has been skipped

This commit is contained in:
github-ops
2026-06-17 06:15:46 +00:00
commit 73b44eb93b
317 changed files with 72433 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
const { test, expect } = require('@playwright/test');
const { ADMIN_EMAIL, ADMIN_PASSWORD, localized } = require('./helpers');
test('login page rejects invalid credentials', async ({ page }) => {
await page.goto('/login');
await page.locator('#email').fill(ADMIN_EMAIL);
await page.locator('#password').fill('wrong-password');
await page.locator('.btn-signin').click();
await expect(page.locator('#login-error')).toBeVisible();
});
test('login page signs in and redirects to operations', async ({ page }) => {
await page.goto('/login');
await page.locator('#email').fill(ADMIN_EMAIL);
await page.locator('#password').fill(ADMIN_PASSWORD);
await page.locator('.btn-signin').click();
await expect(page).toHaveURL(/\/$/);
await expect(page.locator('.page-title, .page-heading').first()).toHaveText(localized('Operations', 'Операции'));
});