Skip to content

updated framework to support CSV in 12.8.1#62

Merged
iBombit merged 1 commit intomainfrom
feature/lh_v12.8.1
Aug 13, 2025
Merged

updated framework to support CSV in 12.8.1#62
iBombit merged 1 commit intomainfrom
feature/lh_v12.8.1

Conversation

@iBombit
Copy link
Owner

@iBombit iBombit commented Aug 13, 2025

CSV Analytics Engine

  • Added CSV performance reporting with threshold analysis
  • Generates detailed performance metrics in spreadsheet-friendly format

Key Features

  • Custom Performance Thresholds: FCP ≤1.8s, LCP ≤2.5s, CLS ≤0.1, TBT ≤200ms
  • Priority Classification: HIGH/MEDIUM/LOW based on Core Web Vitals status
  • Improvement Recommendations: Actionable suggestions with specific target values
  • Timestamp Support: Optional timestamped file names (--includetimestamp=true)

CSV Output Includes

  • Performance scores, Core Web Vitals, and network metrics
  • Threshold status (GOOD/NEEDS IMPROVEMENT/POOR)
  • Improvement calculations with target values
  • Priority levels for remediation planning
  • Application and device context

Usage

npx mocha --timeout 10000 .\test\demo.test.steps.js --browsertype=desktop --headless=true --url="https://demoqa.com/" --generatecsv=true --includetimestamp=true

Generated Files

  • performance-analysis.csv (standard)
  • performance-analysis_YYYY-MM-DD_HH-MM-SS.csv (with timestamp)

@iBombit iBombit self-assigned this Aug 13, 2025
@iBombit iBombit merged commit f5bb80c into main Aug 13, 2025
4 checks passed
@iBombit iBombit deleted the feature/lh_v12.8.1 branch August 13, 2025 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant