Update Scan Name

Link to Update Scan Name copied to clipboard

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 name based on other criteria before pushing a scan by using the withScanName parameter within andPushResult.

func testAccessibility() throws {
    guard let result = try axeDevTools?.run(onElement: XCUIApplication()) else {
        XCTFail()
        return
    }
    try axeDevTools?.postResult(result, withTags: ["build: 0.0.1"], withScanName: "AUTOMATION")
}