Last active
June 22, 2022 07:03
-
-
Save SarahElson/965f2ef04e4efcdbd9e9a8da28d6c90f to your computer and use it in GitHub Desktop.
Speed Up Accessibility Testing With LambdaTest And Evinced
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@AfterMethod | |
public void tearDown() { | |
// Stop the Evinced engine and generate the report object | |
Report report = driver.evStop(); | |
// Export the report - JSON | |
EvincedReporter.writeEvResultsToFile("Evinced-LambdaTest-A11y-JSONReport", report, EvincedReporter.FileFormat.JSON); | |
// Export the report - HTML | |
EvincedReporter.writeEvResultsToFile("Evinced-LambdaTest-A11y-HTMLReport", report, EvincedReporter.FileFormat.HTML); | |
driver.quit(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment