Tagging Results

Link to Tagging Results copied to clipboard

Tagging is a helpful feature to organize, share and search for scans within the axe DevTools Mobile Dashboard. Some helpful tags for your team may be the team name, build number, simulator version, etc.

Tagged scans are made available for other team members within your organization.

Send a Scan with a Tag

Using the parameter withTags, we're attaching a tag named "build: 0.0.1" to the scan.

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