Skip to content

[Swift 6 Migration] [UI Tests] Fix nonisolated(unsafe) global springboard buttons vars in TodayWidgetTests.swift #27430

Open
@data-sync-user

Description

@data-sync-user

nonisolated(unsafe) static var corruptionLogsWritten = Set<String>()

These are global properties, and because they are mutable they are not thread safe.

However, since these are in UI tests the risk is low.

Also, it could be that the risk is zero due to how tests run (individually per device?). But we should double check just in case.

┆Issue is synchronized with this Jira Task

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions