feat: Frontend CSS refactoring and test improvements
Frontend: - Refactored CSS architecture with new utility classes - Updated dashboard components styling - Improved responsive grid system - Enhanced typography and variables - Updated E2E and integration tests Added: - Claude Code slash commands for validation - SSH tunnel and start test scripts 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -5,9 +5,8 @@
|
||||
*/
|
||||
|
||||
import { test, expect } from '@playwright/test';
|
||||
import {
|
||||
authenticateWithRealCredentials,
|
||||
getRealCompanies,
|
||||
import {
|
||||
authenticateWithRealCredentials,
|
||||
selectCompany,
|
||||
REAL_CREDENTIALS,
|
||||
API_ENDPOINTS
|
||||
@@ -64,7 +63,7 @@ test.describe('Oracle Cross-Schema Data Consistency', () => {
|
||||
// Additional Oracle-specific fields that might be present
|
||||
const oracleFields = ['cui', 'reg_com', 'adresa', 'telefon', 'email'];
|
||||
oracleFields.forEach(field => {
|
||||
if (romfast.hasOwnProperty(field)) {
|
||||
if (Object.prototype.hasOwnProperty.call(romfast, field)) {
|
||||
console.log(`ℹ️ Oracle field '${field}' present:`, romfast[field]);
|
||||
}
|
||||
});
|
||||
|
||||
@@ -6,11 +6,9 @@
|
||||
|
||||
import { test, expect } from '@playwright/test';
|
||||
import { API_ENDPOINTS } from '../../utils/real-auth.js';
|
||||
import {
|
||||
import {
|
||||
setupConsoleCapture,
|
||||
assertNoCriticalErrors,
|
||||
generateErrorReport,
|
||||
PerformanceBaselines,
|
||||
assertPerformanceBaseline
|
||||
} from '../../utils/console-monitor.js';
|
||||
|
||||
@@ -400,7 +398,7 @@ test.describe('Backend Health Monitoring', () => {
|
||||
expect(degradationRatio).toBeLessThan(1.5);
|
||||
|
||||
// All cycles should maintain good success rates
|
||||
resourceMetrics.forEach((metric, index) => {
|
||||
resourceMetrics.forEach((metric) => {
|
||||
expect(metric.successCount).toBeGreaterThan(2); // At least 3/4 operations successful
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user