Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add integration tests #535

Merged
merged 39 commits into from
Aug 11, 2024
Merged
Changes from 1 commit
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
ea58ebf
Add accessibility labels
bamx23 Jul 21, 2024
13dfb9b
Support install path override
bamx23 Jul 21, 2024
3a76e69
Add integration test
bamx23 Jul 21, 2024
38ad1d1
Add integration test CI job
bamx23 Jul 21, 2024
ee4fd04
Wait for crash
bamx23 Jul 21, 2024
03918c0
Do not CI tvOS
bamx23 Jul 21, 2024
6fbeb29
Assert Apple-formatted report
bamx23 Jul 21, 2024
631134e
Remove visionOS part
bamx23 Jul 21, 2024
cbb3ee2
Extract integration tests to a separate workflow
bamx23 Aug 3, 2024
962760a
Add testplan and fix scheme
bamx23 Aug 3, 2024
24c7c72
Lower repetitions number
bamx23 Aug 3, 2024
1385df0
Wait for install button
bamx23 Aug 3, 2024
f3438ef
Add some swifty sugar
bamx23 Aug 3, 2024
fb05c2e
Use directory sink for tests
bamx23 Aug 3, 2024
6b53f95
Add other crash types
bamx23 Aug 3, 2024
76ea91c
Fix watchOS
bamx23 Aug 3, 2024
40ee6a2
Split helper and crash triggers
bamx23 Aug 10, 2024
4838045
Add crash search and use it in tests
bamx23 Aug 10, 2024
2ec6b24
Just use scroll instead of search
bamx23 Aug 10, 2024
2bcc173
Use a different second test
bamx23 Aug 10, 2024
c51982a
Fix format
bamx23 Aug 10, 2024
2ee6540
Run tests in parallel
bamx23 Aug 10, 2024
e93316f
Remove typealias
bamx23 Aug 10, 2024
14ce43b
Limit number of scrolls
bamx23 Aug 10, 2024
3ebd3e9
Fix throws
bamx23 Aug 10, 2024
99d1986
Swipe slowly
bamx23 Aug 10, 2024
9c3300b
Even slower?
bamx23 Aug 10, 2024
5aa9a19
Add generic crashed thread validation
bamx23 Aug 10, 2024
b6a3707
Add mach exception test
bamx23 Aug 10, 2024
ee36794
Fix C++ test by enabling cxa_throw swap
bamx23 Aug 10, 2024
155a7f5
Fix toggle logic
bamx23 Aug 10, 2024
1f63cdb
Use env + script instead of UI elements
bamx23 Aug 11, 2024
bd862f3
Test Mach only on iOS
bamx23 Aug 11, 2024
5252ae8
Add tvOS test target
bamx23 Aug 11, 2024
fffa488
Address comments
bamx23 Aug 11, 2024
1a49e4c
Add platform-specific action delay
bamx23 Aug 11, 2024
f6bfde6
Add macOS
bamx23 Aug 11, 2024
362baa8
Remove test UI ids
bamx23 Aug 11, 2024
146b749
Use manual run for most changes
bamx23 Aug 11, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion Samples/Tests/Core/IntegrationTestBase.swift
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,16 @@ class IntegrationTestBase: XCTestCase {
throw Error.tooManyScrolls
}

#if os(watchOS)
app.swipeUp(velocity: .init(floatLiteral: 100.0))
bamx23 marked this conversation as resolved.
Show resolved Hide resolved
#else
app.swipeUp(velocity: .slow)
#endif
_ = button.waitForExistence(timeout: 0.25)
scrollsLeft -= 1
}
}
sampleButton(element).tap()
button.tap()
}
}

Expand Down