結果へのタグ付け

This page is not available in the language you requested. You have been redirected to the English version of the page.
Link to this page copied to clipboard
Not for use with personal data
important

Axe DevTools Mobile ダッシュボードから Axe Developer Hub への移行の一環として、タグは廃止されました。テストでタグを使用していた場合、これまで通り機能します。タグは 2026 年 10 月のリリースで完全に削除されます。

タグ付けは、Axe DevTools Mobile ダッシュボード内でスキャンを整理、共有、検索するための便利な機能です。チーム名、ビルド番号、シミュレーターのバージョンなど、チームにとって有用なタグが考えられます。

タグ付きのスキャンは、組織内のすべての人にダッシュボードで表示されますが、タグのないスキャンは作成したユーザーだけに表示されます。タグはローカルのみの結果には影響しません。

タグ付きでスキャンを送信する

以下の例では、パラメータwithTagsを使用し、"build: 0.0.1"という名前のタグをスキャンに添付しています。

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