Skip to content

Commit

Permalink
Fix occasional CI failures on the iPhone simulator
Browse files Browse the repository at this point in the history
  • Loading branch information
Fitzmaz committed Jul 14, 2023
1 parent d185c5d commit a9821a4
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions KIF Tests/AccessibilityIdentifierTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ @implementation AccessibilityIdentifierTests

- (void)beforeEach
{
UIPasteboard.generalPasteboard.string = nil;
[tester tapViewWithAccessibilityLabel:@"Tapping"];
}

Expand Down
1 change: 1 addition & 0 deletions KIF Tests/AccessibilityIdentifierTests_ViewTestActor.m
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ @implementation AccessibilityIdentifierTests_ViewTestActor

- (void)beforeEach
{
UIPasteboard.generalPasteboard.string = nil;
[[viewTester usingLabel:@"Tapping"] tap];
}

Expand Down
1 change: 1 addition & 0 deletions KIF Tests/LongPressTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ @implementation LongPressTests

- (void)beforeEach
{
UIPasteboard.generalPasteboard.string = nil;
[tester tapViewWithAccessibilityLabel:@"Tapping"];
}

Expand Down
1 change: 1 addition & 0 deletions KIF Tests/LongPressTests_ViewTestActor.m
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ @implementation LongPressTests_ViewTestActor

- (void)beforeEach
{
UIPasteboard.generalPasteboard.string = nil;
[[viewTester usingLabel:@"Tapping"] tap];
}

Expand Down
1 change: 1 addition & 0 deletions KIF Tests/TypingTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ @implementation TypingTests

- (void)beforeEach
{
UIPasteboard.generalPasteboard.string = nil;
[tester tapViewWithAccessibilityLabel:@"Tapping"];
}

Expand Down
1 change: 1 addition & 0 deletions KIF Tests/TypingTests_ViewTestActor.m
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ @implementation TypingTests_ViewTestActor

- (void)beforeEach
{
UIPasteboard.generalPasteboard.string = nil;
[[viewTester usingLabel:@"Tapping"] tap];
}

Expand Down

0 comments on commit a9821a4

Please sign in to comment.