refactor admin UX and stabilize shell
TaxBaik CI/CD / build-and-deploy (push) Failing after 2m20s

This commit is contained in:
2026-07-09 00:03:33 +09:00
parent a2f94e2b5e
commit 89fa51efe2
91 changed files with 1633 additions and 1030 deletions
+5 -3
View File
@@ -3,11 +3,13 @@ import { loginThroughAdminUi } from './helpers/admin-auth';
test('check dashboard metrics', async ({ page }) => {
const baseUrl = (process.env.E2E_BASE_URL || 'https://www.taxbaik.com').replace(/\/$/, '');
const username = process.env.E2E_ADMIN_USERNAME || 'admin';
const password = process.env.E2E_ADMIN_PASSWORD || 'Admin123!@#456';
const username = process.env.E2E_ADMIN_USERNAME;
const password = process.env.E2E_ADMIN_PASSWORD;
test.skip(!username || !password, 'E2E_ADMIN_USERNAME and E2E_ADMIN_PASSWORD are required.');
await loginThroughAdminUi(page, baseUrl, username, password);
await expect(page).toHaveURL(/\/taxbaik\/admin\/dashboard$/);
await expect(page).toHaveURL(/\/admin\/dashboard$/);
// Wait for page load
await page.waitForSelector('.admin-page-hero', { timeout: 5000 });