Update Scan Name
Not for use with personal data
Scans uploaded to the dashboard automatically grab the View Controller's title, or the title set in the navigation bar - if available. You can set the scan name based on other criteria before pushing the scan by posting a custom argument for the withScanName
parameter in the postResult
method.
func testAccessibility() throws {
guard let result = try axeDevTools?.run(onElement: XCUIApplication()) else {
XCTFail()
return
}
try axeDevTools?.postResult(result, withScanName: "AUTOMATION")
}