Skip to main content

Audit

Accessibility and Lighthouse audits are now available as additional checks within a Test Evolve Spark functional test.

Users will need to set enabled: true in audits.yml or have selected the test category Audits in Test Evolve Flare.

The type of audit tool then needs to be specified via the source parameter - currently, either source: axe or source: lighthouse.

Finally, if using Lighthouse as the source audit tool, users can then also specify minimum score thresholds for each of the 4 main Lighthouse categories - Performance, Accessibility, Best Practices and SEO. If any executed Lighthouse audits return a category score less than the specified minimimum score thresholds, Test Evolve Spark will log a test failure.

Audit

TestEvolve.audit('label')

The label(s) provided would typically be used to reference a specific page on the application.