test(admin): sync page tests with component changes (BUG-007)
Some checks failed
CI / Lint & TypeCheck (push) Has been cancelled
CI / Unit Tests (push) Has been cancelled
CI / Build Frontend (push) Has been cancelled
CI / Rust Check (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
CI / E2E Tests (push) Has been cancelled
Some checks failed
CI / Lint & TypeCheck (push) Has been cancelled
CI / Unit Tests (push) Has been cancelled
CI / Build Frontend (push) Has been cancelled
CI / Rust Check (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
CI / E2E Tests (push) Has been cancelled
Fix 6 page test files to match actual component output: - Login: cookie-based auth login(account), brand text updates - Config/Logs/Prompts: remove stale description text assertions - ModelServices: check for actual table buttons instead of title - Usage: update description text to match PageHeader All 132 tests pass (17/17 files).
This commit is contained in:
@@ -101,7 +101,6 @@ describe('Config page', () => {
|
||||
renderWithProviders(<Config />)
|
||||
|
||||
expect(screen.getByText('系统配置')).toBeInTheDocument()
|
||||
expect(screen.getByText('管理系统运行参数和功能开关')).toBeInTheDocument()
|
||||
})
|
||||
|
||||
it('fetches and displays config items', async () => {
|
||||
|
||||
Reference in New Issue
Block a user