Skip to content

Commit 6211134

Browse files
committed
Update UI test case
1 parent f7d2058 commit 6211134

File tree

4 files changed

+11
-23
lines changed

4 files changed

+11
-23
lines changed

Example/OpenSwiftUIUITests/Animation/Animation/AnimationCompletionUITests.swift

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,8 @@ struct AnimationCompletionUITests {
4545
}
4646
}
4747
}
48-
// When run seperately, precision: 1.0 works fine
49-
// but in the full suite, it will hit the same issue of #340
50-
withKnownIssue("#340", isIntermittent: true) {
51-
openSwiftUIAssertAnimationSnapshot(
52-
of: ContentView()
53-
)
54-
}
48+
openSwiftUIAssertAnimationSnapshot(
49+
of: ContentView()
50+
)
5551
}
5652
}

Example/OpenSwiftUIUITests/Animation/Animation/BezierAnimationUITests.swift

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,8 @@ struct BezierAnimationUITests {
7575
}
7676
}
7777
}
78-
// When run seperately, precision: 1.0 works fine
79-
// but in the full suite, it will hit the same issue of #340
80-
withKnownIssue("$340", isIntermittent: true) {
81-
openSwiftUIAssertAnimationSnapshot(
82-
of: ContentView(),
83-
)
84-
}
78+
openSwiftUIAssertAnimationSnapshot(
79+
of: ContentView(),
80+
)
8581
}
8682
}

Example/OpenSwiftUIUITests/Animation/Animation/RepeatAnimationUITests.swift

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,9 @@ struct RepeatAnimationUITests {
3131
}
3232
}
3333
}
34-
withKnownIssue("#340", isIntermittent: true) {
35-
openSwiftUIAssertAnimationSnapshot(
36-
of: ContentView(autoreverses: autoreverses),
37-
testName: #function + "\(autoreverses)"
38-
)
39-
}
34+
openSwiftUIAssertAnimationSnapshot(
35+
of: ContentView(autoreverses: autoreverses),
36+
testName: #function + "\(autoreverses)"
37+
)
4038
}
4139
}

Example/OpenSwiftUIUITests/Graphic/Color/ColorUITests.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,7 @@ struct ColorUITests {
7575
}
7676
}
7777
}
78-
withKnownIssue("#340", isIntermittent: true) {
79-
openSwiftUIAssertAnimationSnapshot(of: ContentView())
80-
}
78+
openSwiftUIAssertAnimationSnapshot(of: ContentView())
8179
}
8280

8381
// FIXME

0 commit comments

Comments
 (0)