Automation lab Aú Performance & Stress Testing (PERFORMANCE_STRESS)

Lab 100: Automated Lighthouse performance check

Practice automated lighthouse performance check in a real web app context as part of the Performance & Stress Testing module.

expert expert
expert

Objectives

Use for test scripts
  • Understand the purpose and business flow of automated lighthouse performance check.
  • Design stable locators for key UI elements.
  • Automate user interactions and verify the resulting UI state.

Sandbox

Performance & Stress Testing / performance / expert / active

Automated Lighthouse performance check

Simulate running Lighthouse and display core scores.

Reading and understanding requirements Choosing stable locators Designing assertions based on business rules

Learning objectives

  • Trigger mock Lighthouse run.
  • Surface performance/SEO/accessibility scores.
  • Expose pass/fail thresholds.

Steps

  1. Run check.
  2. Read scores.
  3. Assess pass/fail against target (>=90).

Performance

n/a

Accessibility

n/a

Best Practices

n/a

SEO

n/a

Idle

Assertions to practice

  • Scores populated after run.
  • Scores >= 90 considered pass.
  • Status reflects overall pass/fail.